# An invoice calculator for freelancers Written 18 October 2026 by Adrian Viziteu. Every example was run through Ratio 0.6.4 that day, with Germany's 19% VAT. Currency results change with the market. Before an invoice goes into your accounting tool, you work it out somewhere. Hours times rate. A discount. VAT. Maybe the client's currency. In Ratio, all of it stays on one page, with names, so you can change the rate and watch every line update. ## An invoice, line by line | # Invoice for Acme | | | --- | --- | | rate = 65 eur | €65 | | design = 12 * rate | €780 | | development = 28.5 * rate | €1,852.50 | | net = design + development | €2,632.50 | | after = net - 5% | €2,500.88 | | gross = after + VAT | €2,976.04 | | VAT in gross | €475.17 | | gross in usd | $3,344.19 | Change `rate` to 70 and every line below follows. The words before the `=` are names you choose. ## Rates for other countries VAT uses the region in Settings. Write the rate yourself for a client elsewhere, or use the local name of the tax. | 1000 + VAT 9% | 1,090 | | --- | --- | | 1000 + MwSt | 1,190 | | 1190 without VAT | 1,000 | ## Setting your price | margin(80, 100) | 20% | | --- | --- | | 80 + 25% margin | 106.6667 | | 2.675 to 2 decimals | 2.68 | More on tax in the [VAT calculator](https://useratio.app/vat-calculator) guide, and on currencies in the [currency converter](https://useratio.app/currency-converter). [Try Ratio free for 7 days](https://useratio.app/download) · $9.99 once, on Mac, Windows and Linux ## Questions **Can Ratio make the invoice document?** No. Ratio is a calculator: it works out the numbers, which you then copy into your invoicing or accounting tool, or export as text or Markdown on the Mac. **How do I add VAT to an invoice total?** Write `net + VAT` for your region's rate, or `net + VAT 9%` for another rate. `VAT in gross` shows the tax on its own. **Can I show the total in my client's currency?** Yes. Add a line like `gross in usd`. Ratio uses live rates for 160+ currencies, refreshed while you're online. Source: https://useratio.app/invoice-calculator