Taxing 212

A UK capital gains tax calculator for Trading 212
← Back
1. Upload
2. Select Year
3. Calculate

Step 1: Input Data

CSV Upload
Manual Trades
Corporate Actions

Load your T212 trade history CSV files. Full history is required to calculate Section 104 Holdings prices. If history is spread across multiple files please ensure there are no overlaps.

Files Loaded:
{{fileName}}

Drop CSV files here or click to browse.

Supports Trading 212 history export format.
{{uploadStatus.message}}
Clear Files

Note: If you have made changes to a csv file it must be removed and re-added.

Add manual trades here to account for in-specie transfers from other brokers.

Date/Time
Action
Ticker
Name
Shares
Price (£)
Add

Map corporate actions (like Stock Splits or Mergers). The app will retrospectively apply these to your ledger.

Type
Effective Date
Ticker
Action/Ratio
New Ticker/Name
-
-
Add

Step 2: Select Tax Year

Select the target Tax Year for calculations.

{{fyText}}
-
+

Step 3: Calculate

Calculate

How it works

Reads in account history CSV files in the format provided by Trading 212 and provides data useful for filling in a self assessment tax return.

Capital Gains Calculations

1. Groups multiple purchases or disposals on the same day into single transactions in accordance with the same day rule.

2. Identifies same day disposals and calculates gains in accordance with the same day rule.

3. Identifies purchases within 30 days of a disposal of the same asset in accordance with the "bed and breakfast rule".

4. Remaining purchases are appointed to a Section 104 holding, and gains calculated in accordance with .

5. Shows trades and fully a commented calculation ledger for each holding.

6. Generates a round trips report for the tax year, noting the tax scheme applied to each round trip.

7. Generates a tax year summary with data required for Self Assessment Tax form.

Dividends

Splits dividends into UK Companies, UK Other and Non-UK, sums taxes paid on non-UK dividends and provides a tax year summary.

Privacy

All calculations are done locally in your browser, no data is uploaded to a server, no cookies are used and there are no analytics running.

All code is open source on github for verifying the above statement.

Disclaimer

These calculations may only be used for tax purposes after they have been checked for accuracy and completeness by yourself or your tax advisor.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Calculations for {{fyText}}

Download Full Summary

These calculations may be used for tax purposes after they have been checked for accuracy and completeness by yourself or your tax advisor.

Errors Detected

Errors were found during calculations - normally caused by missing data, stock splits or ticker changes (i.e. SPACs). Fix or understand these before proceeding.

It is best to change the raw CSV data for the purchase event in to match the disposal event data, then go back, clear and re-load CSV files.

Tax Year {{fyText}} Summary

Disposal Count:
{{taxYearData.disposals}}
Disposal Proceeds:
{{formatCurrency(taxYearData.proceeds)}}
Total acquisition costs:
{{formatCurrency(taxYearData.costs)}}
Total Realised Profit:
{{formatCurrency(taxYearData.realisedProfit)}}
Total Realised Loss:
{{formatCurrency(taxYearData.realisedLoss)}}
Combined P/L:
{{formatCurrency(taxYearData.realisedProfit - taxYearData.realisedLoss)}}
Dividends Received:
{{formatCurrency(taxYearData.dividends)}}

All Data Summary:

Disposal Count:
{{disposalCount}}
Total Realised Profit:
{{formatCurrency(realisedProfit)}}
Total Realised Loss:
{{formatCurrency(realisedLoss)}}
Combined P/L:
{{formatCurrency(realisedProfit - realisedLoss)}}
Unrealised Capital Gain (open positions):
{{formatCurrency(totalUnrealisedGain())}}
Dividends Received:
{{formatCurrency(dividendsTotal)}}

Deposits

Withdrawals

Portfolio Allocation

Monthly Dividend Income

{{fyText}} Round Trips

No Round Trips Found

{{uiRoundTripsExpand ? "Hide Round Trips" : "Show Round Trips"}}
Date Sold
Date Aquired
Asset
Amount
Cost £
Proceeds £
P/L £
Notes
Download RoundTrip CSV

Dividends

Tax Year {{fyText}} Summary

UK Companies Total:
£{{divTyUkC}}
UK Other (Funds/Trusts) Total:
£{{divTyUkO}}
Foreign Total:
£{{dividendDetails.nonUk.toFixed(2)}}
Foreign Taxes Paid:
£{{dividendDetails.taxPaid.toFixed(2)}}

UK Company Dividends

Date Received
Name
Value
UK Company?

Other UK Dividends

Date Received
Name
Value
UK Company?

Non-UK Dividends

Date Received
Name
Value
Tax Paid
* = Included in {{fyText}} Tax Year

All Holdings

Expand All Holdings
Collapse All Holdings
{{showErrorsOnly ? "Show All Holdings" : "Show Errors Only"}}

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.