Skip to main content

Canada OHIP Validator

Online validator for Ontario Health Insurance Plan (OHIP) numbers.

How does OHIP validation work?

The validator processes the 10-digit Ontario health card number and applies the Luhn checksum (Modulo 10) algorithm to verify mathematical integrity.

Validation is performed locally in your browser, guaranteeing full privacy and rapid feedback for healthcare form testing.

OHIP Check Digit Calculation Algorithm

The 10th digit of the OHIP number is calculated by applying the Luhn formula (Mod 10) to the first 9 base digits:

Sum = Σ dᵢ × (if i even: 2, if i odd: 1) [with two-digit reduction]; Checksum = (10 - (Sum mod 10)) mod 10
  1. Take the first 9 digits of the Ontario health card number.
  2. Multiply the digits alternately by 1 and 2 from left to right (weights 1, 2, 1, 2, 1, 2, 1, 2, 1).
  3. If any product is 10 or greater, add the two digits of that product together.
  4. Sum all resulting values together.
  5. The 10th check digit is the number required to round the sum up to the next multiple of 10.

Validation FAQ