|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/gohover/ |
Upload File : |
<html>
<head>
<title>UH & GH price cost and profit calculator</title>
<script language="JavaScript">
function MakeDollarAmount(x)
{
return (Math.round((100 * x)) / 100)
}
function CalcWholesalePrice(form)
{
form.WholesalePercentProfitModel.value = MakeDollarAmount(
((form.RetailPrice.value)*(1 - ((form.VendorPercent.value)/100))))
form.WholesalePercentMarkupModel.value= MakeDollarAmount(
((form.RetailPrice.value)/(1 + ((form.VendorPercent.value)/100))))
computed = true
}
function CalcRetailPrice(form)
{
form.RetailPercentProfitModel.value = MakeDollarAmount(
((form.WholesalePrice.value)/(1 - ((form.VendorPercent2.value)/100))))
form.RetailPercentMarkupModel.value = MakeDollarAmount(
((form.WholesalePrice.value)*(1 + ((form.VendorPercent2.value)/100))))
computed = true
}
function CalcUHGHProfit(form)
{
form.UHProfit.value = MakeDollarAmount(((form.UHRetailPrice.value) - ((form.UHRetailPrice.value)/1.1)))
form.GHProfit.value = MakeDollarAmount( (((form.UHRetailPrice.value)/1.1) - (form.GHCost.value)))
computed = true
}
function CalcDonProposal(form)
{
form.UHDonProfit.value = MakeDollarAmount(
(((form.UHRetailPrice2.value) - (form.GHCost2.value))*((form.DonUHpercent.value)/100)))
form.GHDonProfit.value = MakeDollarAmount(
(((form.UHRetailPrice2.value) - (form.GHCost2.value))*( 1 - ((form.DonUHpercent.value)/100))))
computed = true
}
function CalcAltContract(form)
{
form.UHAltProfit.value =
MakeDollarAmount(((form.UHRetailPrice3.value) -((form.UHRetailPrice3.value)/(1 + ((form.AltUHpercent.value)/100)))))
form.GHAltProfit.value = MakeDollarAmount( (((form.UHRetailPrice3.value)/(1 + ((form.AltUHpercent.value)/100))) - (form.GHCost3.value)))
computed = true
}
</script>
</head>
<body bgcolor="#408080"><center>
<h1>UH & GH Price, Cost, and Profit Calculator</h1>
<hr><hr>
</center>
There are two pricing models 3rd party vendors may use: the
percent mark-up model, and the percent profit model.
We'll use 30% as an example.
In the percent mark-up model,
Retail Price - Wholesale Price = (.3) Wholesale Price
and by simple algebra,
Retail Price = (1.3) Wholesale Price and
Wholesale Price = Retail Price/(1.3).
In the percent profit model,
Retail Price - Wholesale Price = (.3) Retail Price
and by simple algebra,
Retail Price = Wholesale Price/(.7) and
Wholesale Price = (.7) Retail Price
<center>
<hr><hr>
<form method="post">
<strong>Calculate wholesale price.</strong><br>
Enter the retail price: <input name="RetailPrice"><br>
Enter vendor percent: <input name="VendorPercent"><br>
<INPUT TYPE="button" VALUE="Calculate" onClick="CalcWholesalePrice(this.form)"> or
<INPUT TYPE="reset" VALUE="reset this form">.<br><br>
<hr>
Information derived from input --
Don't enter data in this area.<br><br>
<center>
<table border="4" align=center>
<tr align="center">
<td colspan = 6> Wholesale Price using Percent Profit Model </td><td>
<input name="WholesalePercentProfitModel" value="0" SIZE=10 align="center"></td></tr>
<tr align="center">
<td colspan = 6> Wholesale Price using Percent Markup Model </td><td>
<input name="WholesalePercentMarkupModel" value="0" SIZE=10 align="center"></td></tr>
</table></center>
<hr> <hr>
<strong>Calculate retail price</strong><br>
Enter wholesale price: <input name="WholesalePrice"><br>
Enter vendor percent: <input name="VendorPercent2"><br>
<INPUT TYPE="button" VALUE="Calculate" onClick="CalcRetailPrice(this.form)"> or
<INPUT TYPE="reset" VALUE="reset this form">.<br><br>
<hr>
Information derived from input --
Don't enter data in this area.<br><br>
<center>
<table border="4" align=center>
<tr align="center">
<td colspan = 6> Retail Price using Percent Profit Model </td><td>
<input name="RetailPercentProfitModel" value="0" SIZE=10 align="center"></td></tr>
<tr align="center">
<td colspan = 6> Retail Price using Percent Markup Model </td><td>
<input name="RetailPercentMarkupModel" value="0" SIZE=10 align="center"></td></tr>
</table></center>
<hr> <hr>
<strong>Calculate UH and GH profit under our signed contract</strong><br>
Enter UH retail price: <input name="UHRetailPrice"><br>
Enter the GH cost: <input name="GHCost"><br>
<INPUT TYPE="button" VALUE="Calculate" onClick="CalcUHGHProfit(this.form)"> or
<INPUT TYPE="reset" VALUE="reset this form">.<br><br>
<hr>
Information derived from input --
Don't enter data in this area.<br><br>
<center>
<table border="4" align=center>
<tr align="center">
<td colspan = 6> UH Profit</td><td>
<input name="UHProfit" value="0" SIZE=10 align="center"></td></tr>
<tr align="center">
<td colspan = 6>GH Profit </td><td>
<input name="GHProfit" value="0" SIZE=10 align="center"></td></tr>
</table></center>
<hr> <hr>
<strong>Calculate UH and GH profit under Don's Proposal</strong><br>
Enter UH retail Price: <input name="UHRetailPrice2"><br>
Enter the GH cost: <input name="GHCost2"><br>
Enter UH percent: <input name="DonUHpercent"><br>
<INPUT TYPE="button" VALUE="Calculate" onClick="CalcDonProposal(this.form)"> or
<INPUT TYPE="reset" VALUE="reset this form">.<br><br>
<hr>
Information derived from input --
Don't enter data in this area.<br><br>
<center>
<table border="4" align=center>
<tr align="center">
<td colspan = 6> UH Profit</td><td>
<input name="UHDonProfit" value="0" SIZE=10 align="center"></td></tr>
<tr align="center">
<td colspan = 6>GH Profit </td><td>
<input name="GHDonProfit" value="0" SIZE=10 align="center"></td></tr>
</table></center>
<hr> <hr>
<strong>Calculate UH and GH profit under an alternative UH markup</strong><br>
Enter UH retail Price: <input name="UHRetailPrice3"><br>
Enter the GH cost: <input name="GHCost3"><br>
Enter UH markup: <input name="AltUHpercent"><br>
<INPUT TYPE="button" VALUE="Calculate" onClick="CalcAltContract(this.form)"> or
<INPUT TYPE="reset" VALUE="reset this form">.<br><br>
<hr>
Information derived from input --
Don't enter data in this area.<br><br>
<center>
<table border="4" align=center>
<tr align="center">
<td colspan = 6> UH Profit</td><td>
<input name="UHAltProfit" value="0" SIZE=10 align="center"></td></tr>
<tr align="center">
<td colspan = 6>GH Profit </td><td>
<input name="GHAltProfit" value="0" SIZE=10 align="center"></td></tr>
</table></center>
<hr> <hr>