# PDURATION Function

> Calculate the periods an investment needs to reach a future value with PDURATION in TX Sheet Control: rate, present and future value and #NUM! errors.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > PDURATION Function
- **229 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pduration/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pduration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pduration/llms-full.txt

---

Return the number of periods an investment needs to reach a value at a constant interest rate. `periods_or_rate` is the interest rate per period, `pv` the present value and `fv` the desired future value; the result is `(LN(fv) - LN(pv)) / LN(1 + rate)`. A rate, present value or future value of 0 or less returns `#NUM!`.

### Syntax

```text
PDURATION(periods_or_rate, pv, fv)
```

Category: Financial. Minimum arguments: 3. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=PDURATION(2,100,121)
```

The formula returns 0.1735, because the rate is 2, that is 200% per period; `=PDURATION(0.1,100,121)` returns 2 periods for 100 to grow to 121 at 10%.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [OR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/or/llms-full.txt)
- **Next:** [PEARSON Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pearson/llms-full.txt)
