---
title: "NPV, IRR & XIRR"
description: "NPV, payback and every IRR a series has, not just the first a solver finds."
canonical: "https://lopifi.com/tools/npv"
---

# NPV, IRR & XIRR

> NPV, payback and every IRR a series has, not just the first a solver finds.

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

---

- **Group:** Money

## Inputs

- `rate` — Discount rate % per period (Per period of the flows: monthly flows take a monthly rate.)
- `currency` — Currency (ISO 4217 code — sets the decimals: JPY 0, USD 2, KWD 3.)
- `flows` — Cash flows, one per period (Time 0 first. Outflows negative, inflows positive.)
- `dates` — Dates, one per flow (optional, for XIRR) (yyyy-mm-dd, in the order of the flows. Blank for even periods.)

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