Home / Helpful Guides / CA Form 540 / Federal AGI
CALIFORNIA TAX

CA Form 540 Line 13: Federal Adjusted Gross Income

Line 13 on Form 540 is deceptively simple: write down your federal adjusted gross income from Form 1040, line 11. That’s it. One number, copied straight over. But this single line is the foundation for your entire California tax calculation, and if it’s wrong — or if you don’t understand what California does with it next — every line that follows will be off.

CA Form 540 Line 11 Federal AGI: How the AGI Number Is Calculated

Your federal AGI is calculated on your Form 1040. It’s your total gross income (wages, interest, dividends, business income, capital gains, retirement distributions, rental income, and everything else) minus specific “above the line”. Adjustments like IRA contributions, student loan interest, self-employment tax deduction, and health insurance deductions for the self-employed. These adjustments are defined throughout IRC Section 62.

California doesn’t rebuild this calculation from scratch. The state starts with your federal AGI and then makes its own modifications through Schedule CA additions (Line 14) and Schedule CA subtractions (Line 15). This is called the “federal conformity”. Approach under Cal. Rev. & Tax. Code Section 17071, and it saves you from having to reconstruct your entire income picture under a separate set of California rules.

For CA Form 540 Line 11 Federal AGI, the practical effect: your federal return has to be finished and correct before you can start your 540. That might sound obvious, but every year we see clients who try to file their California return before their federal return is finalized. If your 1040 changes — say, you get an amended W-2 or realize you forgot a 1099 — your 540 has to change too.

Why California Doesn’t Just Use Federal Taxable Income

A reasonable question: why not skip ahead and just start with federal taxable income instead of AGI? Because California has its own deduction rules, its own exemptions, and its own exclusions. The state needs to back up to AGI so it can apply those differences properly.

For example, the federal standard deduction for 2025 is $15,750 for single filers. California’s is $5,540. If California started with federal taxable income, it would be inheriting a deduction that doesn’t match state law. By starting at AGI, California can apply its own deduction amount on a later line.

Same logic applies to exemptions. The feds eliminated personal exemptions under TCJA. California kept them. Starting at AGI lets each system apply its own rules downstream without conflict.

Federal Exclusions California Doesn’t Recognize

Here’s where it gets interesting. Some items that reduce your federal AGI aren’t recognized by California. When that happens, your California AGI (after Schedule CA adjustments) ends up higher than your federal AGI. These are the biggest ones:

  • HSA contributions — The federal deduction for Health Savings Account contributions (IRC Section 223) doesn’t exist in California. The state never conformed to HSA tax treatment. Your HSA contributions, employer contributions, and earnings inside the account are all taxable for California purposes. This gets added back on Schedule CA.
  • HSA earnings — Not just contributions. Interest and capital gains inside your HSA are federally tax-free but California-taxable. You have to track them separately.
  • Tuition and fees deduction — When this deduction was available federally, California didn’t always conform. Check the specific tax year.
  • Moving expenses — Federally, only military moves are deductible post-TCJA. California still allows moving expense deductions for everyone under Cal. Rev. & Tax. Code Section 17072, which means this one actually works in the taxpayer’s favor — it’s a subtraction on Schedule CA.

The HSA issue is by far the most common problem we see at our Los Angeles practice. California has roughly 7 million HSA account holders, and every one of them has a Schedule CA adjustment. If you use tax software, it usually handles this automatically. If you’re filing manually, it’s easy to miss.

What Happens After Line 13

Once your federal AGI is on Line 13, the next two lines adjust it:

  • Line 14 — California additions: Income California taxes but the feds don’t. HSA contributions and earnings are the most common item here. Out-of-state municipal bond interest is another big one.
  • Line 15 — California subtractions: Income the feds tax but California doesn’t. Social Security benefits are the headline item — California fully exempts them. California lottery winnings are another.

Line 13 + Line 14 – Line 15 gives you your California adjusted gross income on Line 17. That’s the number that feeds into the rest of the 540: your deductions, your taxable income, and in the end your California tax liability.

A small but counterintuitive point: it’s entirely possible for your California AGI to be lower than your federal AGI, even though California is known as a high-tax state. If you’re a retiree collecting Social Security and living off California lottery winnings (unlikely but legal), your California AGI could be dramatically lower than federal. California’s additions and subtractions cut both ways.

Common Errors on Line 13

  • Using the wrong 1040 line — Your federal AGI is on Form 1040 line 11. Not line 15 (taxable income) and not line 24 (total tax). This mix-up happens more than you’d think.
  • Forgetting to update after amending — If you file an amended federal return (1040-X), your Line 13 on Form 540 changes. You’ll need to file a California amended return (540X) too.
  • Rounding errors — California allows you to round to whole dollars on the 540. If your federal AGI is $87,432.67, you can enter $87,433. Just be consistent throughout.
  • Community property allocation — Married filing separately in a community property state like California means you split community income 50/50 under Cal. Family Code Section 760, even on Line 13. This can produce a very different AGI split than what appears on each spouse’s federal return if they also filed separately.

Frequently Asked Questions

Why does my California Form 540 start with my federal AGI instead of my income?

California built Form 540 to ride on top of your federal return rather than to duplicate it. The first real number on the 540 is not your salary, not your business profit, not the sum of every dollar you earned. It is your federal adjusted gross income, the figure you already calculated on your federal Form 1040, copied onto the 540 near the top. On the current year form that lands on Line 13. California takes that one number as its starting point and works forward from there. So when a client asks why the state return opens with a federal figure instead of their actual income, the answer is that California decided long ago not to make taxpayers compute income twice. It piggybacks on the work the federal return already did.

Think about what that saves. Your federal return already gathered your wages from every W-2, your interest and dividends, your capital gains, your self-employment profit, your rental income, and everything else into total income. Then it subtracted the federal adjustments to income to reach adjusted gross income. Rebuilding all of that on a separate state form, line by line, would be a waste of everyone’s time and a source of errors. California instead says: tell us the AGI you reported to the IRS, and we will start there. That single design choice is why the 540 is shorter than it would otherwise be, and why the federal 1040 has to come first.

The catch is that federal AGI and California taxable income are not the same thing, and California knows it. The two governments tax some items differently. California taxes a few things the federal government leaves alone, and the federal government taxes a few things California chooses not to. So California cannot simply accept federal AGI and stop there. It takes that federal number as the opening figure, then applies a set of state-specific adjustments to reshape it into California adjusted gross income. The form for those adjustments is Schedule CA, and it is where the federal-to-state translation happens. More on that mechanic in the question about turning federal AGI into California AGI.

Here is a concrete picture. Say your federal Form 1040 shows 140,000 dollars of adjusted gross income after all your federal adjustments. You carry that 140,000 dollars onto Form 540 Line 13. You do not re-add your wages, you do not re-list your interest, you do not recompute anything. The 140,000 dollars is the input. From there, California will add back items it taxes that the federal return excluded, subtract items it does not tax that the federal return included, and arrive at a California figure that may be higher or lower than 140,000 dollars depending on your specific items. But the journey begins at that federal number, every time.

This design has a consequence worth stating plainly: your California return is only as accurate as your federal return. If the federal AGI is wrong, the 540 inherits the error from its very first line. A missing 1099, a mistyped W-2 box, a self-employment deduction taken incorrectly on the federal Schedule 1, any of those flows straight into California because California started with the federal number. The state does not independently verify your income from scratch. It trusts the federal AGI you carried over and builds the whole return on top of it. You can see how federal AGI itself is assembled on the IRS guidance for the federal Form 1040, which walks through total income and the path to adjusted gross income.

One more point that trips people up. Line numbers on Form 540 move around. California renumbers the form periodically, so the federal AGI line might be Line 13 on the current booklet and a different number on a return from a few years back. The line shifts. The concept does not. Federal AGI always comes in near the top of the 540 as the starting figure, regardless of which number the state has assigned to that line this year. When you prepare a current return, confirm the exact line against the year’s official Form 540 booklet from the Franchise Tax Board rather than trusting a remembered line number from an old return.

The practical takeaway for anyone filing both a federal and a California return is sequence. The federal return drives the state return, so the federal 1040 has to be substantially done and correct before the 540 makes sense to prepare. We handle both together at The Reed Corporation, finishing the federal AGI first and then carrying it into California through coordinated preparation, which is part of how our individual tax return preparation service works for clients with California filing obligations. The federal number is the anchor, and the entire California return hangs from it.

What is adjusted gross income, and where does it come from on the federal return?

Adjusted gross income is the number that matters most on the federal return, and it is worth understanding because it becomes the opening figure on your California Form 540. In plain terms, AGI is your total income minus a specific set of deductions the federal tax code calls adjustments to income. It sits between gross income and taxable income. You do not get to AGI by subtracting every possible deduction. You get there by subtracting only the particular adjustments the law allows before AGI is computed, which is a defined and limited list. Everything else, the standard deduction or itemized deductions, comes off after AGI, not before it.

Start with total income, because that is the front half of the calculation. On the federal Form 1040, you report wages from your W-2, taxable interest, ordinary and qualified dividends, capital gains, IRA and pension distributions, Social Security benefits to the extent they are taxable, and the income that flows in from other schedules. Self-employment profit, rental income, partnership and S corporation income, and similar items arrive through the federal Schedule 1 and feed into total income. Add all of it up and you have gross income, the full picture of what you took in for the year before any adjustments.

Then come the adjustments, and this is the part that turns total income into AGI. The adjustments to income live on the federal Schedule 1, and they are above-the-line deductions, meaning they reduce income before AGI is set. The deductible part of self-employment tax is one. A self-employed person who owes self-employment tax gets to deduct half of it here. Contributions to a traditional IRA or a self-employed retirement plan are another. The health savings account deduction is a third. Educator expenses, certain student loan interest, and a handful of other items round out the list. None of these are itemized deductions. They sit ahead of AGI and pull it down directly.

Walk a number through it. Suppose you are self-employed with 120,000 dollars of net profit, you paid roughly 17,000 dollars of self-employment tax, and you put 7,000 dollars into a traditional IRA and 4,000 dollars into a health savings account. Your total income from the business is 120,000 dollars. On Schedule 1 you deduct half the self-employment tax, about 8,500 dollars, plus the 7,000 dollar IRA contribution and the 4,000 dollar HSA contribution, roughly 19,500 dollars of adjustments in all. That brings your AGI to around 100,500 dollars. The 120,000 dollars was gross. The 100,500 dollars is adjusted gross income. That 100,500 dollar figure is what carries to California.

Why does the distinction matter so much? Because AGI is a gatekeeper. A long list of federal tax benefits phases in or out based on your AGI or a slight variant of it called modified AGI. Eligibility for certain credits, the deductibility of IRA contributions when you are covered by a workplace plan, the taxable portion of Social Security, the medical expense itemized deduction threshold, all of these key off AGI. Lower your AGI through a legitimate adjustment and you may open the door to benefits that a higher AGI would have closed. That is why a self-employed person funding a retirement plan does two good things at once: saves for the future and lowers the AGI that governs so many other parts of the return. The mechanics of AGI and these thresholds are laid out in IRS Publication 17, the federal income tax guide for individuals.

Notice what AGI is not. It is not taxable income. Taxable income comes later, after you subtract either the standard deduction or your itemized deductions from AGI. Those itemized deductions, the ones reported on the federal Schedule A for things like mortgage interest, state and local taxes within the federal limit, and charitable gifts, do not affect AGI at all. They come off after it. So a taxpayer with a high AGI and large itemized deductions still has a high AGI, and that high AGI is what California will start with, regardless of how much that taxpayer eventually deducts on Schedule A. The 540 cares about AGI, not about taxable income, for its starting line.

For the California connection, the chain is direct. Your wages and other income become total income on the 1040. Schedule 1 adjustments reduce total income to AGI. That AGI is the figure California pulls onto Form 540 near the top, currently Line 13, as the foundation of the state return. Get the federal AGI right and California starts from a correct number. Get it wrong, by missing an adjustment or overstating one, and the error rides into California from the first line. This is why we build the federal return carefully before touching the state return, and why clean records feeding the federal 1040 matter. We keep those underlying numbers accurate through our bookkeeping work, so the AGI that anchors both returns reflects reality rather than a year-end guess.

How does California turn my federal AGI into California AGI?

California takes your federal adjusted gross income and reshapes it into California AGI using one form: Schedule CA. The federal AGI lands on Form 540 near the top, currently Line 13, and Schedule CA is where California adds and subtracts the items it treats differently than the federal government. The output of that process is California adjusted gross income, which then flows back onto the 540 and drives the rest of the state tax calculation. So the 540 starts with a federal number, detours through Schedule CA for the state-specific adjustments, and returns with a California number. That detour is the whole reason California AGI and federal AGI usually differ.

The additions come first in concept. California taxes some income that the federal government excludes. The classic example is interest on municipal bonds issued by other states. If you hold a bond from another state and collect tax-exempt interest, the federal return leaves that interest out of income, but California taxes it, so Schedule CA adds it back. There are others. Certain items the federal government allowed you to exclude or deduct, California does not recognize, so they get added to rebuild the income California wants to tax. Each addition raises your California income above the federal AGI you started with. The siblings page on Schedule CA additions walks through the common ones a California filer runs into.

Then come the subtractions, which move the other direction. California excludes some income that the federal government taxes. California does not tax certain interest, refunds, or benefits that show up in federal income, so Schedule CA subtracts them to pull your California income below the federal figure. A frequent one is a state income tax refund. If you deducted state taxes federally in a prior year and got a refund this year, the federal return may tax that refund, but California does not tax its own refund, so it comes out. Other subtractions cover items where California is simply more generous or has decoupled from a federal rule. Our page on Schedule CA subtractions covers the ones that come up most.

The reason these differences exist at all is that California does not automatically conform to every federal tax change. Congress passes a tax law, and California decides, item by item, whether to follow it. When California conforms, the federal and state treatment match and there is no adjustment. When California decouples, the treatments diverge and Schedule CA has to bridge the gap. This is why depreciation can differ, why some deductions are allowed federally but not in California, and why a handful of income items get added or subtracted. Schedule CA is the running ledger of every place California has chosen to go its own way.

Put a scenario to it. Your federal AGI is 200,000 dollars. You collected 3,000 dollars of interest from an out-of-state municipal bond that was tax-free federally, and you received a 1,500 dollar state tax refund that the federal return taxed because you had itemized the year before. On Schedule CA, the 3,000 dollars of out-of-state muni interest gets added, because California taxes it. The 1,500 dollar state refund gets subtracted, because California does not tax it. Net the two and your California AGI is 200,000 plus 3,000 minus 1,500, which is 201,500 dollars. That California figure, not the 200,000 dollar federal one, is what carries forward to compute your California tax. The two numbers are close but not identical, and the gap is exactly the sum of the California-specific adjustments.

It is worth being clear about what Schedule CA does not do. It does not rebuild your income from zero. It does not re-list your wages or recompute your business profit. It accepts the federal AGI as given and only touches the specific lines where California and the federal government disagree. Everything the two governments treat the same way passes through untouched. That is why most of the federal AGI carries straight into California unchanged, and only a few items get adjusted. The simpler your tax picture, the smaller the Schedule CA adjustments, and for many wage earners with no out-of-state bonds or unusual items, California AGI ends up very close to federal AGI. The complexity scales with how many federal items California has decoupled from in your particular return.

The order of operations matters for getting this right. You cannot complete Schedule CA without a finished federal AGI, because Schedule CA starts from that federal number and adjusts it. So the federal Form 1040 has to be done first, the AGI carried to the 540, and only then can Schedule CA do its job. We prepare the two in that sequence, finishing federal AGI before applying the California modifications, which is how coordinated federal-and-state preparation keeps the numbers consistent. You can confirm the current Schedule CA layout and adjustment lines against the year’s official Form 540 booklet from the Franchise Tax Board, since the specific additions and subtractions update as conformity changes. The federal AGI is the input, Schedule CA is the translation, and California AGI is the result.

What happens to my California return if my federal AGI changes or I amend the 1040?

Because the entire California Form 540 is built on top of your federal adjusted gross income, anything that changes that federal number ripples straight into California. The federal AGI sits on the 540 near the top, currently Line 13, as the starting figure. Change it on the federal side and the California return that started from it is now wrong from its first line down. So a federal AGI change is not a federal-only event. It is almost always a California event too. If you amend your federal 1040, you usually have to amend your California 540 to match, and the order of those amendments is federal first, then state.

Walk through how this happens in practice. Say you file your federal return and your 540, both done and accepted. Then a late 1099 shows up in March for 8,000 dollars of income you missed. That 8,000 dollars increases your federal total income, which increases your federal AGI. You file a federal amended return, the Form 1040-X, to report the additional income and pay the additional federal tax. But your California return also started from the old, lower federal AGI. That 8,000 dollars belongs in California income too, assuming it is California-source or you are a California resident. So you also have to amend the 540 to pick up the higher AGI, which means more California tax. One missed form, two amended returns.

The same logic runs the other way. Suppose you discover you forgot a deduction that lowers your federal AGI, say a retirement contribution you were entitled to deduct on the federal Schedule 1. Amending the federal return drops your federal AGI, which means a federal refund. But the lower federal AGI also flows into California, lowering your California AGI and likely producing a California refund as well. Either direction, up or down, the federal AGI change does not stay contained. It crosses into the state return because California chose to start from that federal figure. The 540 cannot be more correct than the federal AGI it inherited.

There is a wrinkle that catches people: California requires you to report a federal change even when the change came from the IRS rather than from you. If the IRS audits you and adjusts your federal AGI, or you agree to a federal change, California law requires you to notify the Franchise Tax Board and file an amended California return reflecting the federal adjustment, generally within a set window after the federal change becomes final. You do not get to ignore the California side just because it was the IRS, not you, who moved the federal number. The state expects its return to stay consistent with the federal AGI, so a federally driven change obligates a California amendment too.

Timing and order are where returns go wrong. Always amend federal first, then California. The reason is that the California amended return starts from the corrected federal AGI, so you need the federal number settled before you can carry it into the amended 540. Amending California first, off a federal AGI that is about to change, just creates a second round of corrections. Finish the federal 1040-X, lock in the new AGI, then bring that figure into the California amended return. The sequence mirrors the original preparation order: federal drives state, in amendments exactly as in the first filing.

Consider the interaction with Schedule CA, because a federal change can hit both the AGI line and the California adjustments. If the late 1099 was out-of-state municipal bond interest, for instance, it would not change federal AGI at all, since that interest is federally tax-free, but it would change the California addition on Schedule CA. So some federal items move federal AGI, some move only the California adjustment, and some move both. When you amend, you have to figure out which lines the change actually touches rather than assuming it is only the AGI line. The federal items reported on the federal Schedule 1 and the itemized items on federal Schedule A each have their own California treatment, so a change to one of those can shift the California return in a way the federal return alone would not reveal.

The cleaner approach is to not need the amendment in the first place, which is why we push to have the federal return substantially complete and correct before filing California at all. A return prepared in haste, before all the 1099s and K-1s have arrived, is the kind that ends up amended twice. When we prepare a federal and California return together, we wait for the federal AGI to be solid, then build California on top of it once, so a late document does not cascade into a pair of amended returns. If an amendment does become necessary, we handle the federal 1040-X and the matching California amended return as one coordinated job through our individual tax return preparation service, in the right order, so the two returns end up consistent rather than telling the IRS and the Franchise Tax Board two different stories about your income.

Why does my preparer want the federal return finished before starting California?

The short answer is direction of flow. The numbers run one way, from the federal return into the California return, and never the reverse. California Form 540 starts with your federal adjusted gross income, carried onto the form near the top, currently Line 13, and builds the entire state return on top of that one figure. So your preparer wants the federal 1040 done first because the federal AGI is the input the 540 depends on. You cannot meaningfully prepare a return whose opening number has not been finalized yet. Start California before federal AGI is locked and you are building on a figure that is still moving.

This is not a preference or a habit. It is a structural feature of how the two returns relate. The federal return assembles your total income, subtracts the federal adjustments on Schedule 1, and arrives at AGI. California then takes that AGI as given and applies Schedule CA to reach California AGI. Every downstream California line, the tax, the credits, the phaseouts, traces back to that California AGI, which traces back to federal AGI. Pull the federal AGI out from under the 540 and the whole state return loses its foundation. The federal 1040 is not just the first thing to prepare. It is the thing the state return is made of.

Picture the alternative and the problem is obvious. Suppose your preparer drafts the California 540 in February off a federal AGI of 150,000 dollars, before all your documents are in. Then in March a K-1 from a partnership arrives showing another 20,000 dollars of income, plus a corrected 1099 that shifts a number. Your federal AGI is no longer 150,000 dollars. It is something else. The California return that started from 150,000 dollars is now built on a figure that no longer exists. Everything computed from it, the California tax, any AGI-sensitive credits, has to be redone. The work done early was not just wasted, it was actively misleading, because it looked finished while resting on a number that changed. That is why preparers wait for the federal AGI to be real.

There is a quality dimension too, not only a sequencing one. Errors on the federal return do not announce themselves on the California return. They hide inside the inherited AGI. If a deduction was taken incorrectly on the federal Schedule 1, or a W-2 box was entered wrong, the federal AGI is off, and that error flows silently into California because California started from the federal number without rechecking your income from scratch. So getting the federal return right is a precondition for the California return being right. A preparer who rushes California before the federal AGI has been reviewed is shipping the federal errors straight into the state return, where they are harder to spot because the 540 simply trusts the figure it was handed. The federal income tax guide in IRS Publication 17 covers how AGI is built, and that build has to be sound before California inherits it.

The federal-first rule also governs the timing of itemized deductions and adjustments, which carry their own California treatment. Items on the federal Schedule A, like state and local taxes within the federal cap, and adjustments on the federal Schedule 1, each get re-examined for California, which conforms to some and decouples from others. You cannot run those California adjustments until the federal versions are settled, because Schedule CA starts from the federal figures and modifies them. So even the parts of the California return that involve state-specific differences still wait on the federal return, since the differences are measured against finished federal numbers. Federal first is not only about AGI. It is about every line California derives from a federal line.

This is exactly why we do not treat the federal and California returns as two separate jobs handed to two different people on two different timelines. We prepare them as one coordinated engagement, federal AGI first, then California on top of it, so the state return is built once from a solid federal foundation rather than drafted early and redone when a late document lands. For a client with income in both a federal context and California, that coordination is the difference between a clean single filing and a messy pair of amendments. We run that integrated federal-and-California preparation through our individual tax return preparation service, and where a client wants to model moves before year-end, we look at the federal and California effects together through our tax strategy consulting work. The principle underneath all of it is the same one the form itself enforces: the numbers flow federal to state, so the federal return comes first.

Contact Us