Tax & NI Calculator 2025 / 2026

Use this calculator as a practical estimate tool for comparing salary scenarios across tax years and work patterns. After the first result, changing tax year, workweek hours, or options will auto-recalculate values immediately.

HMRC note: S/C tax-code prefixes override the Scotland checkbox.
Options

API Usage

This website provides a REST API to calculate tax and National Insurance (NI) details. The API is protected and requires a JWT access token in the Authorization: Bearer ... header.

Get token via POST https://tax.log7.uk/calculator/api/token/ and then call https://tax.log7.uk/calculator/api/calculate/:

{
  "income": 45000,
  "income_type": "yearly",
  "workweek_hours": 40,
  "is_blind": false,
  "no_ni": false,
  "is_scotland": false
}
                        

Example using curl (Unix-like systems):

curl -X POST https://tax.log7.uk/calculator/api/calculate/ \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
          "income": 45000,
          "income_type": "yearly",
          "workweek_hours": 40,
          "is_blind": false,
          "no_ni": false,
          "is_scotland": false
        }'
                        

Example using curl (Windows):

curl -X POST https://tax.log7.uk/calculator/api/calculate/ ^
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" ^
    -H "Content-Type: application/json" ^
    -d "{
          \"income\": 45000,
          \"income_type\": \"yearly\",
          \"workweek_hours\": 40,
          \"is_blind\": false,
          \"no_ni\": false,
          \"is_scotland\": false
        }"
                        

The API will return a JSON response with the calculated tax and NI details.