QuantCalc QuantCalc State tax engine docs

State tax docs / States / Oklahoma

Oklahoma state income tax: engine rules, 2026

How the QuantCalc engine computes Oklahoma tax for tax year 2026, rule by rule, with the official source for each rule. Verification status: Worksheet-tested (what this means).

On this page: How the tax is computed · Rate schedule · Deductions, exemptions and credits · Age 65+ subtractions and credits · Social Security · IRA, 401(k) and private pensions · Public pensions · Military retirement pay · Roth conversions · Capital gains · Worked examples · Not calculated · Verification. Machine-readable: this state's entry in the engine config and the provenance file (key OK).

How the tax is computed

Every step the engine takes for Oklahoma, in the order it takes them. Steps marked with a filing status or household type apply only there. Each step links the section below that carries Oklahoma's figures and the official sources for it; the calculation order page describes every step for all jurisdictions.

What each filing status gets, read back from the engine for a household with $1 of income (so below every phase-out and income test):

SingleMarried filing jointlyMarried filing separatelyHead of household
Rate schedule usedsingle schedulejoint schedulejoint schedule, thresholds halvedhead-of-household schedule
Top rate4.5% from $7,2004.5% from $14,4004.5% from $7,2004.5% from $14,400
Standard deduction, under 65$6,350$12,700$6,350$9,350
Standard deduction at 70 (joint: both 70)$6,350$12,700$6,350$9,350
Personal exemption$1,000$2,000$1,000$1,000
Age subtractions at 70 (joint: both 70)$1,000$2,000$1,000$1,000
  1. Per-person mode joint returns with the spouse's age given On a joint return with the spouse's age given, every age test the state applies per taxpayer is evaluated for each spouse at their own age. Without it one household age applies to both.
    engine step (compute_state_tax_detail). Engine convention, no external source: The engine cannot know the second spouse's age unless told.
  2. Rate schedule and standard deduction by filing status Single uses the single schedule and deduction; married filing jointly the joint ones. Head of household and married filing separately follow the two steps below.
    Oklahoma's values · engine step (select_brackets). Sources (Rate schedule): Enrolled House Bill No. 2764 (2025) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27); 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  3. Married filing separately Where the state publishes its own separate schedule, that one (with half the joint deduction unless a separate deduction is set). Where one schedule applies to every status, that schedule unscaled with the single deduction. Otherwise the joint schedule with every threshold and the deduction halved (computed as the joint tax on twice the income, halved).
    Oklahoma's values · engine step (select_brackets). Sources (Rate schedule): Enrolled House Bill No. 2764 (2025) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27); 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  4. Head of household The state's head-of-household schedule where it has one, else the single schedule; the head-of-household deduction where set, else the single deduction.
    Oklahoma's values · engine step (select_brackets). Sources (Rate schedule): Enrolled House Bill No. 2764 (2025) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27); 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  5. The income total every income test uses Other ordinary income + retirement distributions (before any exclusion) + conversion + federally taxable Social Security + long-term gains. It stands in for federal adjusted gross income in every threshold, cliff and phase-out below; state subtractions do not reduce it.
    engine step (compute_state_tax_detail). Engine convention, no external source: The inputs are the federal AGI components, so their sum is federal AGI for these income types.
  6. Attributing income to each spouse joint returns with each spouse's own amounts given With a caller's split (the API's spouse object), each spouse's own distributions, pension, public pension, conversion, wages and military pay; spouse 2's shares are clamped into the household totals and spouse 1 gets the rest. Without a split, in per-person mode, every item is divided 50/50. Social Security, other ordinary income and gains are always divided 50/50 where a rule needs a per-person amount. The split is used only where a state's rule is per taxpayer; household totals stay authoritative for the base and the income tests.
    engine step (compute_state_tax_detail). Engine convention, no external source: Equal attribution is the neutral split when the owner of a dollar is not known.
  7. Keeping the per-spouse shares inside the household joint returns with each spouse's own amounts given After the public-pension and employer-pension carve-outs, if the two spouses' remaining shares add up to more than the household's exclusion-eligible distributions (an inconsistent split), spouse 1's share is reduced so they do not.
    engine step (compute_state_tax_detail). Engine convention, no external source: Input normalisation.
  8. Military retirement pay The state's military rule runs first, on military pay alone, per taxpayer: each spouse's own pay at their own age when attributed, otherwise half each at the household age on a joint return. Exempt dollars leave the base; the rest become pension dollars for the general retirement rules.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Military retirement pay): 511 Pkt (checked 2026-09-27)
  9. One taxpayer's military exemption Exempt: all of it (below the age split, up to the younger cap). Capped: up to the cap for the age tier, plus the earned-income bonus below the age split when the taxpayer's own wages exceed the threshold, less the taxpayer's own Social Security where the rule says so. Percentage: the percentage (below the age split, up to the younger cap). Then the income limit: above it the exemption is lost, or phased out over the range where one is set.
    Oklahoma's values · engine step (military_exempt_one). Sources (Military retirement pay): 511 Pkt (checked 2026-09-27)
  10. Non-covered public pension excluded in full only when the caller says the pension was not covered by Social Security Only when the caller says the public pension was not covered by Social Security: the pension takes the uncapped public-pension exemption below (per taxpayer, without using the general retirement exclusion).
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Public pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  11. Social Security exempt None of the federally taxable benefit enters the base.
    Oklahoma's values · engine step (ss_amount_in_state_base). Sources (Social Security): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  12. Does a conversion draw the retirement cap? Where the state lets a conversion draw the capped exclusion, and the filer is at or above the conversion age, the conversion is pooled with distributions against the cap.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Roth conversions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  13. Retirement exclusion per spouse (both ages known) joint returns with the spouse's age given Full-exclusion states exclude each qualifying spouse's own dollars. Capped states give each spouse the single cap for their own age against their own eligible dollars (pension dollars only where the exclusion is pension-only; employer dollars only below the IRA age), less their military exclusion and half of any Social Security offset. Per-return states (and the pooled-if-both-qualify rule when both qualify) apply the joint cap to the couple's pooled eligible dollars when either spouse qualifies. The income tests then apply once to the summed deduction.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  14. Conversion pooled with distributions The conversion joins the distributions against the one cap (with a spouse split in a per-taxpayer state, each spouse's own distributions and conversion against that spouse's cap). Nothing of the conversion is added separately.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Roth conversions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  15. Retirement exclusion (household) The distributions eligible for the exclusion go through the exclusion below. Taxable public-pension dollars left by a cap are not eligible; below the IRA age only employer-plan dollars are.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  16. Retirement exclusion per spouse (declared split) joint returns with each spouse's own amounts given With a spouse split in a per-taxpayer state, each spouse's own eligible dollars draw that spouse's single cap (less their military exclusion); an income limit then applies once to the sum.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  17. Conversion taxed or exempt In full-exclusion states a conversion is exempt at the qualifying age (at any age where the state says so). Elsewhere, unless pooled above, it is ordinary income taxed in full.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Roth conversions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  18. Cap by age tier The full cap at or above the exclusion age, the lower cap at or above the partial age, otherwise none. Joint returns use the joint cap; every other status the single cap.
    Oklahoma's values · engine step (retirement_distributions_in_state_base). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  19. The capped deduction Deduction = the smaller of the eligible distributions and the cap, then reduced by the income limit above; the rest of the distributions stays in the base.
    Oklahoma's values · engine step (retirement_distributions_in_state_base). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  20. One taxpayer's cap joint returns with the spouse's age given For per-spouse calculations, each spouse's cap is the single-column cap for their age tier.
    Oklahoma's values · engine step (per_taxpayer_cap_single). Sources (IRA, 401(k) and private pensions): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  21. Long-term gains in the base Where gains are taxed as ordinary income: net long-term gain less the flat exclusion (never below zero), times the inclusion share. Elsewhere none enters.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Capital gains): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27)
  22. Personal exemption The joint amount on a joint return, the head-of-household amount where set, otherwise the single amount.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Deductions, exemptions and credits): 2025 Oklahoma Resident Individual Income Tax Forms and Instructions (Form 511 Packet) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27)
  23. Extra exemption at 65 for low income One more exemption per taxpayer at or above the age when the income total (conversions left out where the state says so) is at most the filing status's limit.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Age 65+ subtractions and credits): 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  24. State taxable income Other ordinary income + Social Security, retirement income, conversion and gains left in the base − standard deduction − personal exemption − age subtractions.
    engine step (compute_state_tax_detail). Engine convention, no external source: The order of subtraction follows the state forms; each amount is sourced at its own step.
  25. No tax at or below zero State taxable income at or below zero returns a tax of 0 (credits are not refundable and nothing below applies).
    engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable, so nothing below can make a zero tax negative; each credit is sourced at its own step.
  26. Separate-return scaling married filing separately For the halved-joint rule, taxable income is doubled before the schedule and the result halved.
    Oklahoma's values · engine step (compute_state_tax_detail). Sources (Rate schedule): Enrolled House Bill No. 2764 (2025) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27); 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  27. The rate schedule Each bracket's rate on the part of taxable income inside it, summed. No rounding: the result is carried in full precision.
    Oklahoma's values · engine step (apply_state_brackets). Sources (Rate schedule): Enrolled House Bill No. 2764 (2025) (checked 2026-09-27); 2026 Oklahoma Income Tax Withholding Tables (Packet OW-2) (checked 2026-09-27); 2025 Form 511 Packet (Oklahoma resident income tax) (checked 2026-09-27)
  28. Credits cannot make the tax negative The credits are subtracted and the result floored at zero.
    engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable; each credit is sourced at its own step.

Rate schedule

Single

Taxable income fromtoRate
$0$3,7500%
$3,750$4,9002.5%
$4,900$7,2003.5%
$7,200and up4.5%

Married filing jointly

Taxable income fromtoRate
$0$7,5000%
$7,500$9,8002.5%
$9,800$14,4003.5%
$14,400and up4.5%

Head of household

Taxable income fromtoRate
$0$7,5000%
$7,500$9,8002.5%
$9,800$14,4003.5%
$14,400and up4.5%

Married filing separately: the engine computes the MFJ tax on twice the income and halves it, which is the same as halving every MFJ threshold and the MFJ deduction.

Deductions, exemptions and credits

  • Standard deduction (or the exemption the engine carries in its place): $6,350 single, $12,700 married filing jointly, $9,350 head of household.
  • Personal exemption, subtracted in addition: $1,000 single, $2,000 MFJ.

Age 65+ subtractions and credits

  • An extra $1,000 exemption for each taxpayer 65 or older when federal adjusted gross income, leaving out Roth-conversion income, is at most $15,000 (single), $19,000 (head of household), $25,000 (MFJ) or $12,500 (married filing separately).

Source review notes (what the sources do not state outright, or what the engine does not carry):

Social Security

Social Security benefits are fully exempt: none of the federally taxable amount enters the state base.

API value: socialSecurityRule: "exempt". The engine's input is the federally taxable amount; income tests use the sum of the income components as the adjusted-gross-income proxy.

IRA, 401(k) and private pensions

  • Pension, annuity and IRA/401(k) distributions: up to $10,000 excluded per taxpayer ($20,000 on a joint return) at any age.
  • Joint returns: the cap is per taxpayer. With the spouse's age given (couples), each spouse's own dollars are tested against that spouse's own age and cap; without it one household age applies and the $20,000 joint cap covers pooled income.

Public pensions

A public pension earned in service not covered by Social Security (read as a federal civil-service annuity paid in lieu of Social Security) is excluded in full, per taxpayer, and does not use the general retirement exclusion. It applies only when the caller says the pension was not covered (pensionPublicSsCovered: false on the API); without that, the pension draws only the general exclusion.

Otherwise public pensions follow the rules for other retirement income above.

Military retirement pay

  • Military retirement pay is fully exempt, at any age.
  • Rules are applied per taxpayer at that person's own age when the spouse's age is given. API value: rules.militaryRetirement.treatment: "exempt".

Roth conversions

A conversion draws the retirement-income exclusion together with distributions at any age; the part above the cap is taxed as ordinary income.

Source review notes (what the sources do not state outright, or what the engine does not carry):

Capital gains

  • Net long-term gain is taxed as ordinary income.
  • Short-term gains are ordinary income.

Worked examples

Computed by the engine for the fixed households below (the same ones for every state, so states compare directly). Federal tax is not supplied, so a federal-tax deduction is not taken; the income tests use the sum of the components as income.

Household (engine inputs)State tax
Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain$1,929.50
Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain$2,959
Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion$3,954.50
Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable)$1,159
Single, 58: $36,000 military retirement pay and $30,000 wages$804.50
Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given$709

Line by line

The intermediate lines the engine records while it computes each example (its detail record, printed as it comes out; lines that are zero are left out). The engine's documentation build checks that the lines add up to the taxable income and the tax, for every state, filing status and a grid of households. Each line links the engine step that produces it.

Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain: $1,929.50
Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain: $2,959
Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion: $3,954.50
Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable): $1,159
Single, 58: $36,000 military retirement pay and $30,000 wages: $804.50
Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given: $709

What the engine does not calculate, and known approximations

What the engine does not calculate for any state (itemized deductions, credits beyond those listed, part-year residents, dependents, blindness and disability, and more) is listed on the calculation order page.

Verification

Worksheet-tested Golden and unit tests follow Schedule 511-A line 6, including the per-person exclusion.