Method and sources

How the calculator works

One fixed order keeps the arithmetic easy to check. The estimate starts with the purchase amount, applies the optional extras, then converts the result with a dated ECB reference rate.

The calculation order

Let amount be the bill in the source currency. Tip, sales tax and the card FX fee are percentages; the fixed fee is a flat amount in the source currency. Empty optional fields are treated as zero.

# 1. tip
tipAmount  = amount × (tipPercent / 100)

# 2. tax is charged on the amount plus the tip
afterTax   = (amount + tipAmount) × (1 + taxPercent / 100)

# 3. fixed fee, in the source currency
afterFixed = afterTax + fixedFee

# 4. card FX fee is applied last, to the whole subtotal
afterCardFee = afterFixed × (1 + cardFxFeePercent / 100)

# 5. convert the final source-currency total
output = convert(afterCardFee, fromCurrency, toCurrency)

The result panel shows each of those steps: amount, tip, tax, fixed fee, card FX fee, the total charged in the source currency, and the converted estimate. That mirrors the order above rather than collapsing everything into a single unexplained number.

Worked example. Amount 100, tip 10%, tax 10%, fixed fee 5, card FX fee 3%, all in USD:

Tip = 10. After tax = 110 × 1.10 = 121. After fixed fee = 126. After card fee = 126 × 1.03 = 129.78. For USD → USD the conversion is the identity, so the estimate is 129.78 USD.

Where the rates come from

The calculator uses ECB reference rates obtained through Frankfurter. It calls Frankfurter's ECB provider endpoint for a USD-based table:

https://api.frankfurter.dev/v2/providers/ECB/rates?base=USD

This is a single-provider ECB feed, not a blended or multi-provider table, and not the deprecated v1 endpoint. Only currencies present in the table that actually loaded are offered in the menus. The rate date shown in the calculator comes from the records returned by the endpoint.

The European Central Bank publishes euro reference rates on business days, usually around 16:00 CET. There is no weekend or holiday publication, so the latest available date may be the previous working day. Pairs that do not involve the euro are derived by rebasing the ECB's euro reference rates through EUR; the USD-based table used here is itself a derived table. The result is a reference figure, not a market quote or a rate offered to you by a bank or card network.

When the request fails

If the endpoint cannot be reached or returns an unusable response, the calculator falls back to a static reference table dated 2026-11-24. That table is shipped with the site; it is not a saved copy of your last request, and it is not a cache of previously fetched values. The status line says when the static table is in use, and the figures may be stale. If neither the endpoint nor the static table can be used, the calculator shows an error and does not print an estimate.

Credit and further reading

Reference rates via Frankfurter, sourced from ECB statistics.

The ECB name is used only to identify the source of the statistical reference rates. This site is independent and is not affiliated with, endorsed by, or operated by the ECB.