1. Home
  2. Banking
  3. Tax
  4. Forms
  5. ppf - ssy
  6. Sr. Citizen
  7. Widgets
  8. Misc.
  1. Home ➤ 
  2. Widgets ➤ 
  3. HTML Code ➤ 
  4. You Are Here

Code of Yield to Maturity Calculator

Get Javascript, CSS and HTMl code of Interest Calculator to calculate Total Yield, Yield to Maturity, Annualized Yield and Percentage Yield of investment in bonds.

The code is available for free use on your site / blog. You may change / customize the code as you wish.

Javascript Code

CSS Code

HTML Code

Code Demo

Yield to Maturiy Calculator
Par Value
Maturity Value
Coupon Rate
Coupon Payment
Months till Maturity
Total Yield
Yield to Maturity (YTM)
Annualised Yield
Percentage Yield

Embed Code

If you do not want to go through the hassle of hosting the widget on your site / blog, you can put the above widget on your site / blog by just pasting one line of embed code of this widget available in various international language and / or colors on this page Embed Code of Yield to Maturity Calculator.

Updated : Aug 14, 2020