Precious Metal Calc

ReFact (3%)
Gold USD $1860.70 /oz May 27, 2022
Enter Weight Description % Market value
g 9K Gold $ 22.43 /g
$ 0.00
g 10K Gold $ 24.93 /g
$ 0.00
g 12K Gold $ 29.91 /g
$ 0.00
g 14K Gold $ 34.89 /g
$ 0.00
g 16K Gold $ 39.88 /g
$ 0.00
g 18K Gold $ 44.87 /g
$ 0.00
g 21K Gold $ 52.34 /g
$ 0.00
g 900 Coins $ 53.84 /g
$ 0.00
g 22K Coins $ 54.84 /g
$ 0.00
g 22K Gold $ 54.84 /g
$ 0.00
g 24K Gold $ 59.82 /g
$ 0.00
Total Gold: USD $0.00
Silver USD $22.28 /oz May 27, 2022
Enter Weight Description % Market value
g Pure Silver $ 0.72 /g
$ 0.00
g Sterling Silver $ 0.66 /g
$ 0.00
g 900 Silver $ 0.64 /g
$ 0.00
g 800 Silver $ 0.57 /g
$ 0.00
g 600 Silver $ 0.43 /g
$ 0.00
g 400 Silver $ 0.29 /g
$ 0.00
Total Silver: USD $0.00
Platinum USD $962.45 /oz May 27, 2022
Enter Weight Description % Market value
g Pure Platinum $ 30.94 /g
$ 0.00
g 95% Platinum $ 29.4 /g
$ 0.00
g 90% Platinum $ 27.85 /g
$ 0.00
Total Platinum: USD $0.00
Grand Total: USD $0.00

CSS used in the example:

.metal_header {
	background-color: #ccc;
}
input[type=number]{
	max-width: 80px;
	display: inline-block;
}
.totals {
	text-align: right;
	background-color: #90EE90;
}
.grandtotal {
	border-top: double;
	background-color: #32CD32;
}
#refact{
	margin-top: -27px;
	text-align: right;
}