Skip to main content

Canada OHIP Generator

Online Ontario Health Insurance Plan (OHIP) number generator for Ontario health identification testing.

Waiting for generation...

About Ontario OHIP (Canada)

The Ontario Health Insurance Plan (OHIP) is the government-run public health insurance plan for residents of the Canadian province of Ontario, administered by the Ministry of Health.

The health number consists of 10 digits formatted in a 4-3-3 structure (e.g. 1234-567-890). The 10th digit is verified by the Luhn algorithm to prevent data entry and optical character recognition errors.

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.

Frequently Asked Questions (FAQ)