Skip to the calculator
ShipMargin

Embed our calculators

Any calculator here can go on your own site with a single iframe. It is free, needs no API key or account, and we do not require attribution — though a link is always welcome.

Reasonable uses: a 3PL putting a dimensional weight calculator on its pricing page, an accountant embedding the landed cost tool in a client guide, a seller community adding the FBA calculator to a resources page, a course or textbook linking a worked example.

The snippet

<iframe
  src="https://shipmargin.net/dimensional-weight-calculator/?embed=1"
  title="Dimensional weight calculator"
  width="100%"
  height="760"
  style="border:1px solid #dde3ec;border-radius:12px"
  loading="lazy"
></iframe>

Swap the path for whichever calculator you want. Height varies by tool — 640 pixels suits the simple ones, 900 the Amazon FBA calculator. Set loading="lazy" so it does not slow your own page down.

Pre-filling the inputs

Every calculator encodes its state in the query string, so you can ship an embed that already has your typical values in it. Open the tool, set it up how you want, press Copy shareable link, and use that URL as the iframe source.

A 3PL that mostly ships 40 × 30 × 20 cm cartons on DHL can embed exactly that, so the reader sees their own scenario rather than a generic default.

What you are embedding

One caveat worth knowing: browsers block downloads started inside a sandboxed iframe, so the CSV export button falls back to copying to the clipboard in an embed. Everything else behaves identically.

Most-embedded calculators

Dimensional weight

Billable weight in pounds using each carrier's current divisor, side by side.

/dimensional-weight-calculator/?embed=1

Volumetric weight

Metric volumetric weight with the divisor your carrier actually uses.

/volumetric-weight-calculator/?embed=1

Chargeable weight

The greater of actual and volumetric, with the carrier's rounding applied.

/chargeable-weight-calculator/?embed=1

Girth

Girth, length + girth, and a pass/fail against carrier size limits.

/girth-calculator/?embed=1

CBM

Cubic metres, cubic feet, and CBM converted to chargeable weight by mode.

/cbm-calculator/?embed=1

Pallet loading

Cartons per layer and per pallet, packed the way a warehouse would.

/pallet-calculator/?embed=1

Container load

Cartons or pallets per container, and what limits the load.

/container-load-calculator/?embed=1

Freight class

Density in lb/ft³ mapped to an NMFC class, on the current scale.

/freight-class-calculator/?embed=1

Customs duty

Duty, VAT and levies, stacked in the order customs actually applies them.

/customs-duty-calculator/?embed=1

Landed cost

Goods, freight, duty, tax and fees, resolved to a cost per unit.

/landed-cost-calculator/?embed=1

Shipping cost

A full quote breakdown from weight through surcharges to duty.

/shipping-cost-calculator/?embed=1

Compare carriers

One parcel, every carrier's billing rules, side by side.

/courier-comparison/?embed=1

Data feeds

If you would rather have the underlying data than an iframe — divisor tables, de minimis thresholds, marketplace fee schedules with their effective dates and sources — get in touch. We are happy to expose it as JSON for anything that will cite it properly, and we would rather people build on correct data than re-key a table that goes stale.

Terms

Do not modify the calculator, present its output as your own authoritative rates, or strip the source citations — those are the point. Otherwise, help yourself. Questions via the contact page.