Embeddable gold value calculator

Let your visitors enter a weight and purity and instantly see the approximate value of their gold at the live market price.

AI design assistant
Currency
Style
Theme
Size
Accent colour

Live preview

Paste anywhere in your HTML. Works on every CMS that allows iframes.

<iframe src="/embed?metals=gold&currency=EUR&unit=g&theme=light&accent=B8860B&style=calculator&size=m&lang=en"
  width="320" height="460"
  loading="lazy" style="border:0" scrolling="no"
  title="Live gold and silver prices"></iframe>
<a href="https://metalflowapi.com/gold-price-api/eur" target="_blank" rel="noopener">Prices by MetalflowAPI</a>

Why a calculator converts better than a price list

A visitor holding a gold ring does not think in troy ounces — they think "what is my 5-gram 18-karat ring worth?". A static price table makes them do the maths themselves, and most will not. The calculator does it for them: weight, purity, done. For gold buyers and jewellers this is the difference between a bounce and an enquiry, because the visitor who sees a concrete number is already half-way to walking in or filling out your form.

Weight, unit and purity

The visitor types any weight and chooses grams, troy ounces or kilograms. The purity selector covers the grades that actually circulate in Europe: 24k (99.9%), 22k (91.6%), 18k (75.0%), 14k (58.5%) and 9k (37.5%). The estimate is the weight times the live gold price times the purity factor — the market value of the pure gold content. The result updates instantly as the visitor types, with no page reload and no submit button.

Live prices, honest fallbacks

The current gold price is rendered into the widget on the server, so the calculator shows a real number on first paint, and refreshes in the background every five minutes. If the price feed is briefly unavailable the widget shows a dash instead of a wrong number and retries automatically. You can display the value in any of ten European currencies, from euros and pounds to złoty and forint.

Installing the calculator

Use the script embed if you want the calculator to size itself, or the iframe embed for fixed dimensions. On WordPress, paste the snippet into a Custom HTML block. The widget is a few kilobytes, loads no external fonts or frameworks, and carries a small attribution link to MetalflowAPI, which keeps it free.

Need raw data?

Build your own dashboards, pricing tools or checkout logic with the MetalflowAPI gold price API — live and historical prices for gold, silver, platinum and palladium in 10+ currencies.

Frequently asked questions

How does the gold value calculator work?
The visitor enters a weight, picks a unit (grams, troy ounces or kilograms) and selects the purity in karats. The widget multiplies the weight by the live gold price and the purity factor to show an approximate market value.
Which purities are supported?
24k (99.9%), 22k (91.6%), 18k (75.0%), 14k (58.5%) and 9k (37.5%) — the most common jewellery grades in Europe.
Is the calculated value a buy or sell quote?
No. It is the approximate market value of the pure gold content at the current spot price. Actual buy and sell prices from dealers include spreads, refining costs and margins.
How fresh is the price behind the calculator?
The price is rendered on the server when the widget loads and refreshed in the background every five minutes, so the estimate always follows the live market.