---
title: "FX conversion & gain/loss"
description: "Convert at your policy rate and measure the FX gain or loss."
canonical: "https://lopifi.com/tools/fx"
---

# FX conversion & gain/loss

> Convert at your policy rate and measure the FX gain or loss.

Source: https://lopifi.com/tools/fx
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Group:** Money

## Inputs

- `from` — Foreign currency (ISO 4217 code — sets the decimals: JPY 0, USD 2, KWD 3.)
- `to` — Functional currency (ISO 4217 code — sets the decimals: JPY 0, USD 2, KWD 3.)
- `amount` — Foreign amount
- `rate` — Rate at booking (Functional units per foreign unit, e.g. 1.10 USD per EUR.)
- `current` — Rate now / at settlement (The closing rate at period end, or the rate on settlement day.)
- `side` — The item is
- `kind` — Measurement

Runs entirely in the browser: no network call, no data leaves the page. The same definition powers the Lopifi Tools Chrome extension.
