Learn Updated 2026-03-02 UTC

Unit Converter Widget (Embed) — GetCalcMaster

Embed a fast unit converter on your site with an iframe. Configure presets (from/to/value), theme, and optional attribution.

Want a unit converter widget you can paste into any page? GetCalcMaster provides a lightweight iframe embed with configurable presets.

Important: Widgets are for education and convenience. For compliance work, verify definitions and significant figures from authoritative sources.

What this calculator is

The Unit Converter is an interactive tool inside GetCalcMaster. It’s designed to help you explore scenarios, understand formulas, and document assumptions.

Key features

  • Simple iframe embed (works on most CMS platforms)
  • Configurable presets: from/to/value via query parameters
  • Offline-friendly conversion logic (runs in the widget)
  • Optional attribution link (nofollow)

Formula

<iframe
  src="https://getcalcmaster.com/embed/convert?from=lb&to=kg&v=1"
  width="100%"
  height="280"
  style="border:0"
  loading="lazy"
></iframe>

Quick examples

  • Preset speed: /embed/convert?from=mph&to=km/h&v=60
  • Dark theme: /embed/convert?from=lb&to=kg&v=1&theme=dark
  • Compact density: /embed/convert?from=ft&to=m&v=10&compact=1

Verification tips

  • Do a round-trip check: A → B, then B → A (should return A within rounding).
  • Watch case sensitivity: MPa (megapascal) is different from mPa (millipascal).

Common mistakes

  • Mixing unit conventions (e.g., GB vs GiB) without noting which you need.
  • Forgetting to set the iframe height—result gets clipped on small screens.

How to use it (quick steps)

  1. Choose your default units (from/to) and optional starting value.
  2. Set the iframe src to /embed/convert with query parameters.
  3. Paste the iframe into your site and adjust width/height.
  4. Optionally set theme=light|dark|auto and compact=1.
  5. Publish and test on mobile and desktop.

Related tools and guides

Featured guides

Deep, human-written guides focused on accuracy, verification, and reproducible workflows.

FAQ

Can I hide the title?
Yes. Add hideTitle=1 to the query string.
Can I remove attribution?
Yes. Add attribution=0 (attribution is optional).
Can I force a light or dark theme?
Yes. Set theme=light or theme=dark. Default is auto.

Tip: For reproducible work, save your inputs and reasoning in Notebook.