How to use this calculator
- Enter Purchase price ($)。
- Enter Face value ($)。
- Enter Years to maturity (years)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Yield to maturity。
What is it
Zero-Coupon Yield — Enter Purchase price, Face value and Years to maturity to get Yield to maturity — or leave any field blank to solve for it. Investment calculators quantify the time value of money, returns and risk, turning a vague sense of "this will do well" into comparable numbers. The core question it answers is: Yield to maturity. With Purchase price = 600 $, Face value = 1,000 $ and Years to maturity = 10 years, Yield to maturity is 5.24 %.
Formula
| Variable | Inputs | Unit |
|---|---|---|
price | Purchase price | $ |
face | Face value | $ |
years | Years to maturity | years |
ytm | Yield to maturity | % |
(Math.pow(face / price, 1 / years) - 1) * 100The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Purchase price = 600 $
- Face value = 1000 $
- Years to maturity = 10 years
Formula used: (Math.pow(face / price, 1 / years) - 1) * 100
Answer:
- Yield to maturity = 5.24 %
Example 1 (default inputs):Suppose Purchase price = 600 $, Face value = 1,000 $, Years to maturity = 10 years; then giving Yield to maturity = 5.24 %.
Example 2 (one input changed):If you change Purchase price to 900,giving Yield to maturity = 1.06 %.
Additional information
Assumptions and limitations
- These models assume a constant rate, periodic compounding, and no taxes or trading costs. Real return sequences, fees and taxes materially change outcomes — treat results as planning guidance, not a promise.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.