Step 2 of 4 · ProjectsCalculators

All projectsCalculators

cgt-tool

Command-line tool for UK Capital Gains Tax on share sales that applies HMRC matching rules offline.

For individual taxpayers

What it does

Command-line tool that reads share trades in a small text format, or converts a Charles Schwab export, applies the UK same-day, bed and breakfast and Section 104 rules and prints gains per tax year as text, PDF or JSON. A Rust binary that runs offline, with HMRC monthly exchange rates built in. The author warns it is a 0.x project, does not compute the tax bill and needs full history.

Where it fits on the map

Not on the map: for individual taxpayers.

The map places maintained projects for a company tax department or a tax authority, without a demo or paid-service flag. Everything else stays on the list with its label.

Similar projects

Of the same kind, for a shared jurisdiction or tax area. Not a ranking.

Maintain this project?

Link to this page from your README, so readers find the facts, the notes and where it fits. The badge is a small SVG served from this site.

Listed on tax-oss.com

[![Listed on tax-oss.com](https://tax-oss.com/badge.svg)](https://tax-oss.com/projects/cgt-tool/)
Next · Step 3 of 4The gapsThe activities with no open project yet, and the partly covered ones, with what to build on.