---
title: "Cross rates explained | Narwhal API"
description: "Calculate a currency cross rate from two rates with a shared base, check the direction, and avoid mismatched timestamps or rounding inputs too early."
url: "https://narwhalapi.com/guides/fx/cross-rates-explained"
---

# Cross rates explained

Calculate a currency cross rate from two rates with a shared base, check the direction, and avoid mismatched timestamps or rounding inputs too early.

## Quick answer

A cross rate expresses the value of one currency in another using rates through a third currency. When both input rates share the same base, divide the target-currency rate by the source-currency rate. Keep the input units, timestamps and rate types compatible.

## Two rates with one shared base

Suppose one illustrative snapshot says 1 USD = 0.80 EUR and 1 USD = 120 JPY. To calculate how many yen one euro is worth, divide the JPY-per-USD rate by the EUR-per-USD rate. The USD units cancel.

Illustrative EUR-to-JPY cross rate

```
120 JPY/USD ÷ 0.80 EUR/USD = 150 JPY/EUR
10 EUR × 150 JPY/EUR = 1,500 JPY
```

## Multiply when the units already form a chain

The same inputs can be rearranged. Invert 0.80 EUR per USD to get 1.25 USD per EUR, then multiply by 120 JPY per USD. That also gives 150 JPY per EUR.

The formula follows the units, not a universal “always multiply” shortcut. With a common base, target rate divided by source rate works. With a common quote or a mixture of directions, first write each rate as currency received per currency supplied.

## Reverse the result carefully

The reverse of 150 JPY per EUR is 1/150 EUR per JPY, approximately 0.00666667 for display. Keep more working precision than this shortened label when converting an amount.

A useful check is that a positive rate multiplied by its unrounded reciprocal equals one. A division by zero, a missing rate or a non-positive value is a failed input, not a currency result.

## Retrieve compatible inputs

Narwhal can return selected currencies for a requested base. The request below retrieves EUR and JPY against USD; it does not promise the illustrative values above. Each returned record has its own timestamp and stale flag.

Request both input currencies

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/fx/rates/USD?currencies=EUR,JPY" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

## One response can contain different observation times

Do not assume that two rates arrived from the same market instant simply because they appeared in one HTTP response. A derived rate combining an earlier observation with a newer one has mixed time context.

- Compare the input timestamps and both stale flags.
- Choose an acceptable time gap for your use case; there is no universal threshold.
- Keep both input observations with the derived result.
- If you summarise freshness with one age, use the older input and still retain the two timestamps.

## A calculated cross rate is an indicative result

Compatible mid or reference rates give an indicative cross rate. They do not establish an executable trading price. Bid/ask spreads, different venues and observation timing can make a separately quoted pair differ.

Keep rate types consistent and avoid rounding each leg before division. If you only need an amount conversion, request the target pair directly through the documented conversion operation and retain its returned rate and time context.

Published 24 September 2026. Last reviewed 24 September 2026.

## Go to the exact reference

- [USD to EUR exchange rate today](https://narwhalapi.com/fx/usd-eur.md)
- [Historical USD to EUR exchange rates](https://narwhalapi.com/fx/usd-eur.md#chart)
- [API reference View the API reference](https://narwhalapi.com/docs/api/fx.md)
- [API reference FX rates API reference](https://narwhalapi.com/docs/api/fx/rates.md)
- [API reference FX conversion API reference](https://narwhalapi.com/docs/api/fx/conversion.md)
- [Guide Base and quote currency explained](https://narwhalapi.com/guides/fx/base-and-quote-currency.md)
- [Guide Exchange rate timestamps and freshness](https://narwhalapi.com/guides/fx/exchange-rate-timestamps-and-freshness.md)
- [How-to Calculate a cross rate from two pairs](https://narwhalapi.com/how-to/calculate-a-cross-rate.md)
- [RBA: exchange rates and their measurement](https://www.rba.gov.au/education/resources/explainers/exchange-rates-and-their-measurement.html)
- [Methodology FX methodology](https://narwhalapi.com/methodology/fx.md)

## Guides

- [Base and quote currency explained](https://narwhalapi.com/guides/fx/base-and-quote-currency.md)
- [How currency conversion works](https://narwhalapi.com/guides/fx/how-currency-conversion-works.md)
- [Exchange-rate precision and rounding](https://narwhalapi.com/guides/fx/exchange-rate-precision-and-rounding.md)
- [Exchange rate timestamps and freshness](https://narwhalapi.com/guides/fx/exchange-rate-timestamps-and-freshness.md)
- [How historical exchange rates work](https://narwhalapi.com/guides/fx/historical-exchange-rates.md)
- [All guides](https://narwhalapi.com/guides.md)

## Start with a free key

Free $10 credits every month, no card.Free $10 credits a month, no card.

[Get a free API key](https://narwhalapi.com/signup)
