Mathstub

CA Form 540NR Apportionment Calculator

California Franchise Tax Board Publication 1004 sources equity compensation income to the state where services were performed during the vesting period — not where you live at vest. Move CA→TX mid-vest and CA still claims its proportional share of every post-move vest. This calculator walks the math vest-by-vest and estimates the §19136 underpayment penalty + Q4 §540-ES payment to defeat it.

⚡ 30 seconds🔒 Runs in your browser✓ Free, no signup

Tax year 2026 · Last updated May 26, 2026

mathstub / form 540nr

How much California tax do you owe on equity vests after a CA→TX move? Vest-by-vest math under FTB Pub 1004.

CA Franchise Tax Board Pub 1004 + CA Revenue and Taxation Code §17951 source equity comp income to where services were performed during the vesting period — not where the holder lives at vest. CA still claims its proportional share of every post-move vest. (CA RTC § 17951)

  • No signup, everNo tracking, no email required.
  • Math runs in your browserNo data leaves this page.
  • Every claim cites IRC § or IRS PubReviewed against IRS primary sources — see footer.
1. Vest schedule

Each row: a vest event. Vesting-period months = elapsed months from grant to that vest. Months in CA = of those, how many you physically performed services in California.

LabelVest period mo.Months in CAFMV at vest ($)
2. §19136 safe-harbor inputs (optional)

Total CA tax owed across all vests

$16,766

On $126,060 of CA-source income (Schedule CA(540NR) column E). Effective CA rate: 13.3%.

VestVest periodMos in CACA %FMVCA-sourceCA tax
Aug 202424 mo24100%$20,000$20,000$2,660
Nov 202427 mo2488.9%$20,000$17,778$2,364
Feb 202530 mo2480%$20,000$16,000$2,128
May 202533 mo2472.7%$20,000$14,545$1,935
Aug 202536 mo2466.7%$20,000$13,333$1,773
Nov 202539 mo2461.5%$20,000$12,308$1,637
Feb 202642 mo2457.1%$20,000$11,429$1,520
May 202645 mo2453.3%$20,000$10,667$1,419
Aug 202648 mo2450%$20,000$10,000$1,330

§19136 safe-harbor target

$15,089

Lower of 90% current-year CA tax or 100%/110% of prior-year. Pay this amount in via withholding + Form 540-ES estimates by Jan 15 to defeat the penalty.

Estimated §19136 penalty if no estimates

$331

Planning estimate at ~6% annualised × default 120-day shortfall window. Filing Form 540-ES Q3 + Q4 brings this to $0.

Recommended Q4 540-ES payment: $15,089

File Form 540-ES at FTB forms. Submit by Jan 15 of the following year to satisfy §19136 safe harbor.

How it works

  1. List your remaining vests. Pull your grant agreement + vest schedule. Each row needs: vest label (e.g. "Nov 2024"), months between grant date and that vest (vesting-period months), months of those that you physically worked in California, FMV at vest (or projected FMV using current share price as a proxy).
  2. Set your move date precisely. Count months in CA strictly. Lease, utilities, voter registration, drivers license — CA aggressively audits high-income movers. Document the move date and stick to it across every vest.
  3. Optional: enter prior-year CA tax + AGI. For the §19136 safe-harbor estimate. Prior-year CA tax = your last CA 540 or 540NR tax line. Prior-year AGI > $150k triggers the 110% factor instead of 100%.
  4. Read the vest breakdown + total CA tax owed. Per-vest: CA allocation %, CA-source income (Schedule CA(540NR) column E), CA tax at 13.3%. Total at the bottom + safe-harbor threshold + recommended Q4 540-ES payment.

Frequently asked questions

What is FTB Publication 1004?

California Franchise Tax Board's guidance on sourcing stock-option income for non-residents. The core rule: equity compensation income is sourced to where the services were performed during the vesting period, not where the holder lives at vest. Applies to RSUs, ESPP discounts, ISO exercises, NSO exercises, SAR settlements. CA Revenue and Taxation Code §17951 is the statutory backstop.

Wait — I moved to Texas. Why does CA still tax my vests?

Because you EARNED the right to those shares while working in California. The vesting period is when the services were performed; the vest date is just when the property is delivered. CA taxes the portion of vesting-period months that occurred in CA. The remaining portion is sourced to wherever you worked during those months — for TX/NV/FL/WA movers, that portion is state-tax-free.

Is this only for moves out of CA?

No — the math runs both directions. Move TO California mid-vest and CA only claims the months you actually worked in CA. The calculator computes the CA-source portion based on monthsInCalifornia / vestingPeriodMonths regardless of move direction.

What is §19136 and the underpayment penalty?

California Revenue and Taxation Code §19136 imposes a non-deductible penalty when, by April 15, you have not paid in (withholding + quarterly estimates) at least 90% of current-year CA tax OR 100% of prior-year CA tax (110% if AGI > $150k). For mid-year movers whose CA employer payroll stopped withholding CA tax after the move, this often triggers — the post-move vests carry CA-source income with no CA withholding.

Why a Q4 540-ES estimated payment and not just wait for filing?

Unlike federal §6654(g)(1), California §19136 does NOT treat withholding as ratable. CA treats withholding AND estimated payments quarter-by-quarter. So you cannot retroactively cure a Q1-Q3 shortfall via Q4 W-4 the way you can federally. The only mid-year cure is filing CA Form 540-ES quarterly estimates. Submit Q3 by Sept 15 + Q4 by Jan 15.

What form do I file?

Form 540NR (long form for part-year residents in the move year; non-resident form for subsequent years). Schedule CA(540NR) Part III computes the apportionment ratio. Only the CA-source portion of each vest gets reported in column E.

What about ISO bargain elements during the CA work period?

Also CA-sourced under FTB Pub 1004. CA personal AMT (§17062) attaches to the bargain element. Disqualifying dispositions of ISOs exercised during the CA work period also carry CA exposure on the spread. The Mathstub Form 6251 calculator handles federal AMT; for state AMT exposure use the State Stock-Comp Tax Lookup.

NY convenience-of-employer rule?

Different state, different rule. NY can claim 100% of your income via TSB-M-06(5)I if your employer is NY-based and you work remotely "for your convenience" rather than the employer's. CA does not have a convenience-of-employer rule. For NY-employer + non-NY-residence scenarios, the math is more aggressive and is documented in the Mathstub Multi-State Equity Comp Tax Planner template.

Top marginal CA rate — is it always 13.3%?

The calculator uses 13.3% for the post-2024 top bracket (CA RTC §17041). Lower-income filers may see a lower effective rate — but the FTB Pub 1004 sourcing rule still allocates the income to CA regardless. If you want a non-top-bracket effective rate, multiply by your actual CA marginal rate (mathstub /state-stock-comp/ca has the brackets).

Is this tax advice?

No. It's a planning estimate. Real outcomes depend on: domicile evidence (CA audits high-income movers aggressively — keep lease/utilities/voter registration paperwork), day-count exactness if business travel back to CA is significant, prior-year carryovers, ISO holding-period interactions with CA state AMT. For multi-state moves with > $25k of post-move CA equity exposure, engage a CPA licensed in both states.

Spotted a bug, edge case, or numbers that look off? Tell us — we read every report.

mathstub ecosystem · paid notion templates

When a calculator isn’t enough.

See all 4 templates →

Four Notion templates built around the same IRC-cited math the free calculators run — for tracking, planning, and CPA prep across an entire tax year. Lifetime updates included.

Affiliate disclosure — we earn from sales on Mathstub-owned products listed above. Free calculators always stay free.