Embed the DIM Weight Calculator

This is the calculator that runs on DimMath's DIM weight page, packaged to sit inside your own site. Paste one block of HTML into a page or post and it renders in place: length, width and height fields, a carrier comparison, and the billable weight for UPS, FedEx and USPS.

It is free and it stays free. No signup, no API key, no tracking pixel. When a carrier changes a divisor or a rounding rule, the figure on your page changes with it, because the embed loads from DimMath rather than from a copy you have to maintain.

Copy the embed code

Paste this into the HTML of any page: a Custom HTML block in WordPress, an Embed element in Webflow, an HTML block in Shopify, or plain HTML.

HTML
<div style="max-width:760px;margin:0 auto;">
<iframe src="https://dimmath.com/embed/dim-weight-calculator/" title="Dimensional weight calculator by DimMath" width="100%" height="640" style="border:0;" loading="lazy"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;text-align:center;margin:8px 0 0;color:#4b5563;">
<a href="https://dimmath.com/dim-weight-calculator/">Dimensional weight calculator</a> by DimMath — free to embed.
</p>
</div>

Live preview

Set the height to whatever fits your layout. Leave the attribution line in place. It is the only condition of use.

What the calculator returns

  • Billable weight for UPS, FedEx and USPS from the same measurements, using each carrier's current divisor
  • Rounding applied the way each carrier applies it before the formula runs
  • A billable-weight figure your reader can quote directly, instead of a dimensional weight they still have to round

Requirements

  • Your site must be served over HTTPS.
  • Your page builder must allow iframes. Some security plugins block them by default; if yours does, allow dimmath.com.
  • No JavaScript on your side and no build step.

Attribution

The line under the calculator links back to DimMath and must stay visible. You can restyle it to match your site. You cannot hide it with CSS, and you cannot replace the link with plain text. Placement, width and the copy around it are yours.

FAQ

Is the embed free?

Yes. No signup, no key and no payment. The single condition is the attribution link under the calculator.

Does it update when carrier rules change?

Yes. The embed loads the calculator from DimMath, so a divisor change, a rounding change or a new rate table appears on your page without you redeploying anything.

Will it slow my page down?

The iframe is lazy-loaded, so it does not block your page render, and it loads no third-party tracking scripts.

Compare carriers in more detail: UPS DIM weight calculator, FedEx DIM weight calculator, USPS DIM weight calculator, and USPS Cubic calculator.