How to calculate Yield To Maturity (YTM) – Calculator

Yield To Maturity (YTM) Calculator

Annual Interest:
per/face value:
Market price:

years to maturity:
Dept to equity Ratio:

[insert_php]
if (isset($_GET[‘annualinterest’]) && isset($_GET[‘facevalue’]) && isset($_GET[‘marketprice’]) && isset($_GET[‘yearstomaturity’])) {
$annualinterest = $_GET[‘annualinterest’];
$pervalue = $_GET[‘facevalue’];
$marketprice = $_GET[‘marketprice’];
$yearstomaturity = $_GET[‘yearstomaturity’];
$a=$pervalue-$marketprice;
$b=$a/$yearstomaturity;
$c=$annualinterest+$b;
$d=$pervalue+$marketprice;
$e=$d/2;
$f=$c/$e;
$yeildtomaturity=$f*100;
echo $yeildtomaturity;

}
[/insert_php]

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)

Buy advertisement space on T4Tutorials

For more details email [email protected]