# DISC Function

> Calculate the discount rate of a security with DISC in TX Sheet Control: settlement and maturity dates, price, redemption value, day count basis and errors.

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

---

Calculate the discount rate of a security. `settlement` and `maturity` are the settlement and maturity dates of the security, `price_or_investment` its price per 100 of face value and `redemption_or_discount` its redemption value per 100 of face value. `basis` selects the day count convention as in [ACCRINT](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/accrint/llms-full.txt), with US 30/360 as the default. A settlement date on or after the maturity date, a price or redemption value of zero or less, or an unknown basis returns `#NUM!`.

### Syntax

```text
DISC(settlement, maturity, price_or_investment, redemption_or_discount, basis)
```

Category: Financial. Minimum arguments: 4. Maximum arguments: 5.

Available for supported offline calculation.

### Examples

```text
=DISC(DATE(2026,1,1),DATE(2027,1,1),95,100)
```

The formula returns 0.05, a discount rate of 5% for a security bought at 95 and redeemed at 100 after one year.

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:** [DGET Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dget/llms-full.txt)
- **Next:** [DMAX Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dmax/llms-full.txt)
