Precious Metal Calc

ReFact (3%)
Gold USD $1750.16 /oz Sep 24, 2021
Enter Weight Description % Market value
g 9K Gold $ 21.1 /g
$ 0.00
g 10K Gold $ 23.45 /g
$ 0.00
g 12K Gold $ 28.13 /g
$ 0.00
g 14K Gold $ 32.82 /g
$ 0.00
g 16K Gold $ 37.51 /g
$ 0.00
g 18K Gold $ 42.2 /g
$ 0.00
g 21K Gold $ 49.24 /g
$ 0.00
g 900 Coins $ 50.64 /g
$ 0.00
g 22K Coins $ 51.58 /g
$ 0.00
g 22K Gold $ 51.58 /g
$ 0.00
g 24K Gold $ 56.26 /g
$ 0.00
Total Gold: USD $0.00
Silver USD $22.410 /oz Sep 24, 2021
Enter Weight Description % Market value
g Pure Silver $ 0.72 /g
$ 0.00
g Sterling Silver $ 0.67 /g
$ 0.00
g 900 Silver $ 0.65 /g
$ 0.00
g 800 Silver $ 0.58 /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 $984.50 /oz Sep 24, 2021
Enter Weight Description % Market value
g Pure Platinum $ 31.65 /g
$ 0.00
g 95% Platinum $ 30.07 /g
$ 0.00
g 90% Platinum $ 28.49 /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;
}