Blucalculator Open Tool

Ounces to Grams Conversion Widget

Add this free calculator to your website. Choose a style below, copy the HTML, and paste it anywhere — WordPress, Webflow, Squarespace, or plain HTML.

Embed Code

For WordPress, use a Custom HTML block.

Free to use.

How to Embed This Widget on Your Website

The widget is free to embed, requires no account, and auto-resizes to fit its content. Pick the embed style that suits your layout from the tabs above, copy the code, and follow the steps for your platform below.

1

Choose a style

Pick Full-Width, Sidebar, Popup, or Text Link from the tabs above depending on where the widget will live on your page.

2

Copy the code

Click the Copy button next to the embed code box. The code is ready to paste — no editing required.

3

Paste and publish

Open your page editor, add an HTML/Code block, paste the snippet, then save and publish. The widget appears immediately.

WP

WordPress

Block editor (Gutenberg): In your post or page, click the + button to add a block, search for Custom HTML, then paste the embed code into the block. Click Preview to see it live, then Publish or Update.

Classic editor: Switch to the Text tab (not Visual), paste the code where you want the widget to appear, then save.

Elementor / Divi: Drag a HTML widget (Elementor) or Code Module (Divi) onto your layout and paste the snippet inside it.

WF

Webflow

In the Webflow Designer, drag an Embed element from the Add panel onto your canvas. Double-click it, paste the embed code into the HTML Embed Code Editor, then click Save & Close. Publish your site to make it live.

SQ

Squarespace

Edit your page and click the + to add a block. Choose Embed or Code, paste the snippet, and click Apply. The widget renders inline with your content.

WI

Wix

In the Wix Editor, click Add Elements → Embed → HTML iFrame. In the panel that opens, paste the embed code and click Apply. Resize the element on the canvas to match the widget width you chose.

</>

Plain HTML / Any site

Paste the embed code anywhere in the <body> of your HTML file where you want the widget to appear. The script runs inline and injects the iframe automatically. No dependencies or extra libraries required.

Frequently Asked Questions

Is the widget free to use?
Yes. There are no fees, no account required, and no usage limits. The only requirement is that the "Blucalculator" branding at the bottom of the widget remains intact.
Does the widget work on mobile devices?
Yes. The widget is fully responsive. On narrow screens it stacks inputs vertically and scales to fit the container width automatically.
Will the widget update automatically?
Yes. The widget is loaded from our servers each time a visitor opens your page, so any improvements we make to the calculator are reflected immediately — no code change needed on your end.
Can I use the Sidebar / Adjustable style on mobile?
The sidebar style works on mobile but we recommend using the Full-Width style for mobile-first pages, as it stretches to 100% of the container width by default.
Why use a JavaScript snippet instead of a plain iframe?
The JavaScript snippet sets styles with !important, which overrides theme CSS rules that may otherwise constrain the iframe size. It also listens for height messages from the widget and resizes automatically, removing the need for scrollbars.
Can I embed multiple widgets on the same page?
Yes. Each widget gets a unique ID based on its slug, so multiple widgets can coexist on one page without conflicts.