Policyengine canada

From FDU-INS/Insurance-Skills · View interactive version

Policyengine canada is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. ALWAYS LOAD THIS SKILL FIRST before writing any PolicyEngine-Canada code. Contains Canadian federal and provincial tax/benefit rules for household calculations. IMPORTANT: PolicyEngine-Canada does NOT have representative population microdata. Do NOT attempt microsimulation or population-level estima

How to use this skill

Skill file

PolicyEngine-Canada

IMPORTANT: Always use the current year (2026) in calculations, not 2024 or 2025.

No Microsimulation for Canada

PolicyEngine-Canada does NOT have representative population microdata. The only available

dataset is a tiny template with 3 synthetic people. This means:

that population-level estimates are not currently available for Canada and offer a household

example instead

What you CAN do


PolicyEngine-Canada models the Canadian federal and provincial tax and benefit system.

What it models:

Federal taxes:

Federal benefits:

Provincial programs (varies by province):

See full list: https://policyengine.org/ca/parameters


Key Federal Programs — Rules Reference

Canada Child Benefit (CCB) — 2025–2026

The CCB is a tax-free monthly payment to eligible families with children under 18.

Maximum amounts (July 2025 – June 2026):

Phase-out structure:

The CCB is reduced based on adjusted family net income (AFNI) using two thresholds.

Threshold 1: $37,487

| Number of children | Reduction rate (AFNI $37,487–$79,845) |

|---|---|

| 1 child | 7.0% |

| 2 children | 13.5% |

| 3 children | 19.0% |

| 4+ children | 23.0% |

Threshold 2: $79,845

| Number of children | Reduction rate (AFNI above $79,845) |

|---|---|

| 1 child | 3.2% |

| 2 children | 5.7% |

| 3 children | 8.0% |

| 4+ children | 9.5% |

Child Disability Benefit (CDB) supplement:

CCB calculation formula:

For each income range:
  CCB = sum(max_amount per child) - reduction

  If AFNI <= $37,487: no reduction
  If $37,487 < AFNI <= $79,845:
    reduction = rate_tier1 × (AFNI - $37,487)
  If AFNI > $79,845:
    reduction = rate_tier1 × ($79,845 - $37,487) + rate_tier2 × (AFNI - $79,845)

Example calculation — 2 children (ages 3, 8), AFNI = $80,000:

Max CCB = $7,997 (under 6) + $6,748 (6-17) = $14,745
Tier 1 reduction = 13.5% × ($79,845 - $37,487) = 13.5% × $42,358 = $5,718
Tier 2 reduction = 5.7% × ($80,000 - $79,845) = 5.7% × $155 = $9
Total reduction = $5,727
CCB = $14,745 - $5,727 = $9,018/year

Federal Income Tax — 2026

Tax brackets:

| Taxable income | Rate |

|---|---|

| Up to $57,375 | 15% |

| $57,375 – $114,750 | 20.5% |

| $114,750 – $158,468 | 26% |

| $158,468 – $220,000 | 29% |

| Over $220,000 | 33% |

Basic personal amount (BPA): $16,129 (2026, indexed)

Note: Bracket thresholds are indexed annually to inflation. Check CRA for exact 2026 values.

GST/HST Credit — 2025–2026

Tax-free quarterly payment for low/modest-income individuals and families.

Maximum amounts (July 2025 – June 2026):

Phase-out:

Canada Workers Benefit (CWB) — 2026

Refundable tax credit for low-income workers.

Single individuals:

Families:

Disability supplement:

Old Age Security (OAS) — 2026

Monthly pension for seniors 65+.

Maximum amounts (Q1 2026):

OAS recovery tax (clawback):

Guaranteed Income Supplement (GIS) — 2026

Monthly benefit for low-income OAS pensioners.

Maximum amounts (Q1 2026):

Income test:


Provincial Tax — Ontario (2026)

Ontario income tax brackets:

| Taxable income | Rate |

|---|---|

| Up to $52,886 | 5.05% |

| $52,886 – $105,775 | 9.15% |

| $105,775 – $150,000 | 11.16% |

| $150,000 – $220,000 | 12.16% |

| Over $220,000 | 13.16% |

Ontario surtax:

Ontario Child Benefit (OCB)

Ontario Trillium Benefit (OTB)

Combines three credits:

  1. Ontario Energy and Property Tax Credit — up to $1,248 (seniors $1,421)
  2. Northern Ontario Energy Credit — up to $180 (families $277)
  3. Ontario Sales Tax Credit — up to $360/adult + $360/child

Provincial Tax — Other Provinces

British Columbia (2026)

| Taxable income | Rate |

|---|---|

| Up to $47,937 | 5.06% |

| $47,937 – $95,875 | 7.70% |

| $95,875 – $110,076 | 10.50% |

| $110,076 – $133,664 | 12.29% |

| $133,664 – $181,232 | 14.70% |

| Over $181,232 | 20.50% |

Alberta (2026)

| Taxable income | Rate |

|---|---|

| Up to $148,269 | 10% |

| $148,269 – $177,922 | 12% |

| $177,922 – $237,230 | 13% |

| $237,230 – $355,845 | 14% |

| Over $355,845 | 15% |

Quebec (2026)

| Taxable income | Rate |

|---|---|

| Up to $51,780 | 14% |

| $51,780 – $103,545 | 19% |

| $103,545 – $126,000 | 24% |

| Over $126,000 | 25.75% |

Note: Quebec has its own tax system (Revenu Québec) with unique credits and deductions. QPP replaces CPP.


CPP Contributions — 2026

CPP (first ceiling):

CPP2 (second ceiling):


EI Premiums — 2026


Household Analysis Patterns

Answering "What would [reform] cost/mean for a family?"

  1. Identify the family: income, province, number/ages of children
  2. Calculate baseline: apply current rules to compute total benefits/taxes
  3. Calculate reform: apply modified rules
  4. Report the difference: reform minus baseline

Example: Doubling the CCB for an Ontario family

Family: 2 parents, 2 children (ages 3, 8), AFNI $80,000, Ontario

Baseline CCB:

Max = $7,997 + $6,748 = $14,745
Reduction = 13.5% × ($79,845 - $37,487) + 5.7% × ($80,000 - $79,845)
         = $5,718 + $9 = $5,727
Baseline CCB = $14,745 - $5,727 = $9,018

Doubled CCB:

Max = $15,994 + $13,496 = $29,490
Reduction = 13.5% × ($79,845 - $37,487) + 5.7% × ($80,000 - $79,845)
         = $5,718 + $9 = $5,727
Doubled CCB = $29,490 - $5,727 = $23,763

Additional benefit = $23,763 - $9,018 = $14,745/year

Key insight: When only the maximum amounts are doubled (not the phase-out rates), the additional benefit equals the original maximum for families whose benefits aren't fully phased out. The phase-out claws back the same dollar amount regardless of the benefit level.


Common Pitfalls

1. CCB Uses Adjusted Family Net Income (AFNI)

AFNI is the combined net income (line 23600) of both spouses/partners. It is NOT individual income.

2. Benefits Use Previous Year's Income

CCB payments from July 2025 – June 2026 are based on 2024 tax year income.

3. Provincial Programs Stack on Federal

Many provinces have their own child benefits on top of the federal CCB. Always check for provincial supplements.

4. Quebec Is Different

Quebec has its own pension plan (QPP), parental insurance (QPIP), and many unique credits. Don't assume federal rules apply.

5. Indexation

Most thresholds and amounts are indexed annually to CPI. Always verify the year-specific values.


Additional Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.