Best Value Complete Financial Planning Bundle
✓ Financial Planning✓ Net Worth Tracker✓ Monthly Budgeting✓ Travel Budget Planner✓ Annual Budgeting Planner✓ Monthly Expense Tracker✓ Annual Tax Planner✓ Retirement Planning
View Bundle →
Free Download - Excel & Google Sheets

Free Capital Gains Calculator Spreadsheet Template for Google Sheets & Excel

One sale worked through end to end: proceeds and cost basis built from the per-share figures you enter, the gain or loss between them, and what is left once tax comes off. The Free Capital Gains Calculator spreadsheet template takes a holding period and a long-term threshold, which together select which of your two rates applies - and both rates are yours to set rather than assumed. One working sheet. Google Sheets or Excel. No macros, no VBA, no sign-up.

Works in Excel and Google Sheets · CC BY 4.0
capital-gains-calculator.xlsx
Free Capital Gains Calculator Spreadsheet Template for Google Sheets & Excel - dashboard preview

Get More with Essentials or Ultimate Capital Gains Calculator Spreadsheet Templates

Free Capital Gains Calculator

Spreadsheet Template
Works in Excel and Google Sheets · CC BY 4.0
Works in Excel and Google Sheets · CC BY 4.0
What's Included
  • One position worked through on a single sheet, from proceeds to after-tax gain
  • Proceeds and cost basis built from the per-share figures you enter
  • Gain or loss between the two
  • A holding period and a long-term threshold you both enter, together selecting which of your two rates applies
  • Both rates set by you rather than assumed by the sheet
Essentials Capital Gains Calculator spreadsheet template - Google Sheets and Excel preview

Essentials Capital Gains Calculator

Spreadsheet Template
  • Everything in Free
  • Twenty tax lots on one list
  • Days held derived from the purchase and sale dates rather than typed
  • Short or long term classification following from those dates
  • Gain or loss per lot, with losses carried through the totals as negatives
View Essentials Capital Gains Calculator Spreadsheet Template $19

The FinancialAha Free Capital Gains Calculator Spreadsheet Template is a one-sheet workbook for Google Sheets and Excel, with a How to Use guide on a second tab. It works as a Free Capital Gains Calculator Excel template and a Free Capital Gains Calculator Google Sheets template from the same download. This Free Capital Gains Calculator spreadsheet template works one sale through end to end: what it sold for, what it cost, the gain between them, and what is left once the rate you supply is applied. No macros, no VBA, no sign-up.

Inside the workbook

What's inside the FinancialAha Free Capital Gains Calculator spreadsheet template

The FinancialAha Free Capital Gains Calculator Spreadsheet Template runs on one working sheet, with the instructions on a tab of their own. It works in both Microsoft Excel and Google Sheets and here is what the Free Capital Gains Calculator spreadsheet holds.

  1. 01 of 01

    Capital Gains

    The single working sheet, and the whole template. One position at a time: how many shares went, what they cost per share and what they sold for, how long they were held, the threshold that period is measured against, and the two rates you want applied. Back come the proceeds, the basis, the gain between them, which of the two rates the holding period selected, the estimated tax at that rate, and what is left afterwards. Both rates, and the threshold itself, are yours to set. The sheet picks between them and does the arithmetic, and takes no view on what either should be.

  2. Included guide

    How to Use

    A step-by-step guide on its own tab, covering setup, how to replace the sample values, and how to change the currency. Because it ships inside the file, the instructions travel with the template wherever it is opened.

Works in both Google Sheets and Excel

Free Capital Gains Calculator Spreadsheet template for Google Sheets

Upload the Free Capital Gains Calculator Spreadsheet Template to Drive, right-click it, and choose "Open with Google Sheets". This Free Capital Gains Calculator Google Sheets template needs no conversion step and nothing gets rewritten on the way in - the figures recalculate exactly as they do in Excel. The currency dropdown beside the title relabels each money field, and the whole Free Capital Gains Calculator spreadsheet is small enough to open instantly.

Free Capital Gains Calculator Google Sheets template setup

A shared copy of the Free Capital Gains Calculator Google Sheets template works when the person holding the position is not the person doing the sums, and Sheets version history covers a rate typed over. One screen of inputs keeps the Free Capital Gains Calculator Spreadsheet Template quick to open when a sale is being considered.

Sharing the Free Capital Gains Calculator Google Sheet

The Free Capital Gains Calculator Google Sheet is built for a sitting rather than a routine: put one position in, read the figures, then change the holding period or a rate and read them again. Because the Free Capital Gains Calculator spreadsheet handles a single position, duplicating the tab is how a second one gets looked at.

Free Capital Gains Calculator Spreadsheet template for Excel

The Free Capital Gains Calculator spreadsheet Excel download is a plain .xlsx. Excel opens this Free Capital Gains Calculator Excel template directly, with no import step and no compatibility prompt, and every figure updates the moment an input changes. There are no macros and no VBA in the file, so it opens without a security warning.

Free Capital Gains Calculator Excel template setup

The same Free Capital Gains Calculator Excel template opens in Excel on Windows, Excel on Mac, and Excel for the web. It is also the identical file you would upload to Drive, so there is no separate Free Capital Gains Calculator spreadsheet download to choose between.

Free Capital Gains Calculator spreadsheet Excel notes

The Free Capital Gains Calculator spreadsheet Excel file carries no macros and no VBA, so Excel opens it without a trust prompt. The same Free Capital Gains Calculator spreadsheet Excel download also opens in Excel for the web, which matters when you move between a work machine and a personal one.

Opening the Free Capital Gains Calculator spreadsheet Excel file

Nothing in the Free Capital Gains Calculator Excel template is version-specific, so this Free Capital Gains Calculator spreadsheet Excel workbook behaves identically in Excel on Windows, Excel on Mac, and older builds.

Spreadsheet template highlights

What the Free Capital Gains Calculator spreadsheet template tracks

The left-hand side of the Free Capital Gains Calculator Spreadsheet Template is yours to set, including both rates. Everything on the right follows from it:

Shares sold
how many units the sale covered
Cost basis per share
what each one cost to acquire
Sale price per share
what each one sold for
Holding period (days)
how long the position was held
Long-term threshold (days)
the figure the holding period is measured against, a cell you set rather than a constant in the formula
Short-term tax rate
a rate you supply
Long-term tax rate
a rate you supply
Proceeds auto
derived, the shares against the sale price
Cost basis auto
derived, the shares against what each one cost to acquire
Gain (or loss) auto
derived, proceeds less the cost basis
Tax rate applied auto
derived, whichever of your two rates the holding period selected
Estimated tax auto
derived, at whichever of your two rates the holding period selected
After-tax gain auto
derived, the gain less that estimate

Compare builds

FinancialAha Capital Gains Calculator spreadsheet template: Free, Essentials, and Ultimate compared

Feature Free This page Essentials View Spreadsheet Template Ultimate View Spreadsheet Template
Working sheets 1 2 5
Positions handled One at a time 20 lots 50 lots
Gain or loss Yes Yes, per lot Yes, with % return
Short or long term From days you enter From the dates you enter From the dates you enter
Rates Both set by you Both set by you, under the totals Both set by you, on a summary sheet
Charts 1 2
Totals by term Yes Yes
Effective rate Yes
Bracket grid Every rate combination
Wash sale helper Flags repurchases against losses

The FinancialAha Free Capital Gains Calculator Spreadsheet Template covers one working sheet and one position at a time. That is the honest limit of the Free build: there is no list of lots, nothing totals across positions, and the holding period - and the threshold it is measured against - are numbers of days you supply rather than something worked out from dates. The Essentials Capital Gains Calculator Spreadsheet Template for Google Sheets and Excel holds twenty lots, works the days held and the classification out from the dates you enter, and totals the year by term with a chart. The Ultimate Capital Gains Calculator Spreadsheet Template carries fifty lots with a percentage return on each, an effective rate across the year, a grid showing the estimate at every rate combination, and a helper that flags losses where the same asset was bought back soon afterwards.

Good to know

Notes on working in the Free Capital Gains Calculator spreadsheet template

  • Both rates are inputs. The sheet chooses between them on the holding period and applies the one it picks - it holds no view on what either rate should be.
  • The switch point between the two rates is a cell you set, the same as the rates themselves, rather than a constant built into the formula.
  • Tax is applied to the gain floored at zero, so a loss returns no tax rather than a negative one.
  • Every figure is an estimate built from the rates you supplied rather than a determination of anything owed.
  • This build takes one position at a time. A list of lots totalled by term is what the Essentials build adds.
  • The dropdown beside the title relabels the money fields. It changes the label and nothing else.

How the Capital Gains Calculator template works

One sale worked through end to end - proceeds, cost basis, the gain between them, and what is left once the rate you supply is applied.

When this template helps

01

You have sold a holding and want the gain and an estimate of the tax on it in the same place.

02

The holding period sits close to the one-year line and you want to see which rate the sheet picks on either side of it.

03

You want your own short-term and long-term rates in the calculation rather than rates baked into a website.

04

You want the after-tax figure, because the gain and what is left of it are two different numbers.

Tips to get the most out of it

  • Cost basis is what the position actually cost to acquire, fees included, which is not always the headline purchase price.
  • The threshold the holding period is measured against is a cell you overwrite, not a constant baked into the formula, since it differs by country and moves between tax years.
  • After-tax gain is the figure the sheet exists to produce, and it moves with the holding period as much as with the rates.
  • Running the same sale at both holding periods puts a number on what the term is worth at the rates you entered.

Common mistakes to avoid

  • Using the quoted purchase price as the cost basis and leaving out what it cost to acquire.
  • Reading the estimate as an amount owed. It is arithmetic on the rate you typed in, nothing more.
  • Working several sales through the same copy of the sheet, which handles one position at a time.

How to Use the Free Capital Gains Calculator Spreadsheet Template

1
Enter the sale
Put in how many shares went, what they cost per share, and what they sold for.
2
Add the holding period
Enter how many days the position was held, and the threshold it is measured against. Both are cells you set, not fixed inside the formula, and together they select between your two rates.
3
Set your rates
Enter the two rates you want applied. Both are yours - the sheet picks between them rather than choosing them.
4
Read the result
Proceeds, basis, the gain, the rate applied, the estimate and what is left after it.
Ultimate
Capital Gains Calculator Ultimate
Ultimate (29) gives each part its own sheet, with deeper reporting on top.
View Ultimate $29

Built by Claude AI. Perfected by us.

We use Claude AI to draft each template, after a deep research. Then our team steps in. We refine the layout, stress-test every formula, fix edge cases, and polish the design until it feels like something we would actually use ourselves. The AI gets us 80% there. The last 20% is all human judgment.

Excel
Sheets
No signup
Download instantly, no email required
Formula-driven
All calculations update automatically
Dual compatible
Works in Excel and Google Sheets
Sample data included
See the template in action right away

Frequently Asked Questions

What is the difference between the free, Essentials, and Ultimate Free Capital Gains Calculator spreadsheet template?

Free is a single-sheet starter template with sample data and a How to Use guide. Essentials ($19) is the fuller build - more capacity, more detail, and more worked out for you rather than typed. Ultimate ($29) goes further again, usually six working sheets, giving each part of the template its own sheet and adding deeper reporting on top. What each tier holds differs by template - the comparison table on every template page lists it exactly.

Which Free Capital Gains Calculator spreadsheet template should I download?

Upgrade to Essentials if you want a dashboard with charts, more categories, larger capacity, and a more polished spreadsheet for ongoing use. The Free version is a good fit for one-off planning or trying out the layout.

Can I upgrade the Free Capital Gains Calculator spreadsheet template later?

Essentials is a one-time $19 purchase with no subscription. It typically adds a full dashboard, 30-50% more categories or rows than the Free version, and richer formulas. Most buyers upgrade after using the Free version for a few weeks and hitting its limits.

Is the FinancialAha Free Capital Gains Calculator Spreadsheet Template a Google Sheets template?

Yes. Upload the file to Drive and choose "Open with Google Sheets". Nothing needs rewriting in the Free Capital Gains Calculator Google Sheets template, and the currency dropdown still relabels the money fields.

Is the FinancialAha Free Capital Gains Calculator Spreadsheet Template an Excel template?

Yes. The download is a plain .xlsx, so the Free Capital Gains Calculator Excel template opens directly in Excel with no import step. There are no macros and no VBA, so it opens without a security warning.

Will the Free Capital Gains Calculator spreadsheet Excel file open in older versions of Excel?

Yes. The Free Capital Gains Calculator spreadsheet Excel workbook ships as a plain .xlsx, so it opens identically in current Excel and in builds that predate dynamic arrays.

Can the FinancialAha Free Capital Gains Calculator Spreadsheet Template handle a whole year of sales?

No. It works one position at a time, with nothing totalling across positions. The Essentials build holds a list of lots, works the holding period out from the dates you enter, and totals the year by term.

Which rates does it use?

Only the ones you enter. Both sit in the input block, and the holding period decides which of the two gets applied. The sheet does the arithmetic and takes no view on what either rate should be.

What should cost basis include?

What the position actually cost to acquire, including any fees or commissions - which is not always the headline purchase price.

Is the file safe to download?

Yes. No macros, no sign-up, no tracking. The file is a plain .xlsx that opens directly in Excel or Google Sheets.

How do I open the Free Capital Gains Calculator spreadsheet template in Google Sheets?

Upload the .xlsx file to Google Drive, then open it with Google Sheets. All formulas and formatting will be preserved.

Can I use the Free Capital Gains Calculator spreadsheet template for commercial work?

All free templates are released under CC BY 4.0 (Creative Commons Attribution). You can use, modify, and share them freely - including for commercial purposes - as long as you credit FinancialAha.com. They are provided as-is and do not constitute financial advice.

Capital Gains Calculator
Free · $19 · $29
View Essentials Capital Gains Calculator Spreadsheet Template $19