Help & Documentation

Learn how to use the salary calculator and understand how it works

Getting Started
Quick guide to calculating your net salary
  1. Select a country from the dropdown menu
  2. Choose the tax year for your calculation
  3. Enter your gross annual salary in the local currency
  4. Fill in any required inputs (e.g., filing status, region)
  5. Optionally select a tax variant (e.g., expat regime)
  6. View the detailed breakdown of taxes and contributions
  7. Add more countries to compare side-by-side (up to 4)
  8. Share your comparison with the shareable URL
How It Works
Understanding the calculation engine

Config-Driven Tax Calculations

Each country's tax rules are defined in YAML configuration files. These configs describe a directed acyclic graph (DAG) of calculations that process your inputs to produce the final net salary.

Calculation Flow

  1. Start with your gross annual salary
  2. Calculate taxable income (after deductions)
  3. Apply progressive tax brackets to determine tax owed
  4. Calculate social contributions (pension, healthcare, etc.)
  5. Apply tax credits to reduce final tax bill
  6. Compute net income: Gross - Taxes - Contributions + Credits

Tax Rates Explained

  • Effective Rate: Average tax rate on your total income (total tax / gross income)
  • Marginal Rate: Tax rate on your next earned amount (shows what percentage of a raise you'll keep)

The calculation engine is pure TypeScript with no framework dependencies, allowing it to run efficiently in Cloudflare Workers. All configs are validated with test vectors to ensure accuracy.

Frequently Asked Questions

Country Coverage
21 countries currently available for calculation

Australia

2025

1 variant available

Bulgaria

20252026

Canada

2025

13 variants available

Denmark

2025

1 variant available

France

2025

Germany

2025

Ireland

2025

1 variant available

Italy

20252026

2 variants available

Japan

2025

Netherlands

20242025

2 variants available

New Zealand

2025

Norway

2025

1 variant available

Portugal

2025

1 variant available

Singapore

2025

South Korea

2025

1 variant available

Spain

2025

1 variant available

Sweden

2025

1 variant available

Switzerland

20242025

United Arab Emirates

20242025

United Kingdom

2025

United States

2025
Contributing
Help make this calculator better for everyone

This project is open-source and community-driven. Your contributions help make accurate tax information accessible to everyone.

Ways to Contribute

  • Add tax configurations for new countries
  • Update existing configs when tax laws change
  • Report calculation errors or bugs
  • Improve documentation and help content
  • Add test vectors to validate accuracy
  • Enhance UI/UX and accessibility

Getting Started

Visit our GitHub repository for detailed contribution guidelines, setup instructions, and documentation on how to create tax configurations.

View on GitHub
Disclaimer

This calculator provides informational estimates only and does not constitute tax, legal, or financial advice. Tax laws are complex, vary by jurisdiction, and are subject to change. Individual circumstances significantly affect final tax liability. Always consult a qualified tax professional or accountant for your specific situation before making financial decisions.