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 destinations to compare side-by-side (up to 8)
  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
27 countries currently available for calculation

Australia

20252026

3 variants available

Austria

2026

1 variant available

Bulgaria

20252026

Canada

20252026

26 variants available

Denmark

20252026

2 variants available

Finland

2026

1 variant available

France

2026

2 variants available

Germany

20252026

Greece

2026

1 variant available

Hong Kong

2025

Ireland

20252026

2 variants available

Italy

20252026

2 variants available

Japan

20252026

1 variant available

Mexico

2026

1 variant available

Netherlands

202420252026

3 variants available

New Zealand

20252026

1 variant available

Norway

20252026

2 variants available

Poland

2026

3 variants available

Portugal

20252026

2 variants available

Singapore

20252026

South Korea

20252026

2 variants available

Spain

20252026

2 variants available

Sweden

20252026

2 variants available

Switzerland

202420252026

United Arab Emirates

202420252026

United Kingdom

20252026

1 variant available

United States

20252026
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.