Is the BACToBasics calculator widget free to embed?
Yes. The widget can be embedded without creating an account. BACToBasics attribution remains visible inside the calculator.
Free Website Widget
Add BACToBasics educational concentration math to an article, reference page, or resource hub. Configure the starting values, preview the widget, then copy a responsive auto-resizing embed in one step.
Free
No account required
1 snippet
Recommended install
Auto
Responsive height
Widget settings
These values only control what appears when the widget first loads. Visitors can change them inside the embedded calculator.
Recommended install
Paste this into an HTML or embed block. The small BACToBasics helper listens only for height messages from bactobasics.com and resizes matching calculator iframes automatically.
<iframe
data-btb-embed="calculator"
src="https://bactobasics.com/embed/calculator?vial=10&vialUnit=mg&bac=2&dose=250&doseUnit=mcg"
title="BACToBasics peptide calculator"
width="100%"
height="720"
loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
style="width:100%;max-width:720px;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;"
></iframe>
<script async src="https://bactobasics.com/embed.js"></script>HTML / custom embed block
Use the auto-resize version when your platform allows both iframe and script tags.
Script-restricted platform
Use the iframe-only version. It stays responsive at 720px max width and uses the 720px fallback height.
Live preview
Responsive width · Powered-by attribution included
The recommended snippet includes a tiny BACToBasics helper that securely listens for widget height changes and updates the iframe.
Visitors can use the calculator immediately. Saved calculations, vial inventory, favorites, My Tools, and account data stay outside the embed.
Each widget includes a Powered by BACToBasics link back to the full calculator, preserving a clear path from distributed widgets to the main site.
Installation
Paste the recommended code into a custom HTML or embed block. If your website builder removes script tags, use the iframe-only option instead; it keeps the same responsive width and uses your selected fallback height.
Choose the initial vial, liquid-volume, amount, width, and fallback-height values.
Use the auto-resize install when scripts are allowed, or the iframe-only fallback when they are not.
Paste the snippet into your page and keep the built-in BACToBasics attribution intact.
The embedded calculator performs the same basic concentration math used by BACToBasics: an entered vial amount and liquid volume determine concentration, and an entered amount can then be represented as liquid volume and U-100 scale units.
Read the math basics →The widget does not provide preparation instructions, dosing schedules, injection guidance, treatment recommendations, or substance-specific IU-to-mass conversions. Starting values are calculator examples, not recommendations.
FAQ
Yes. The widget can be embedded without creating an account. BACToBasics attribution remains visible inside the calculator.
The recommended install includes the BACToBasics embed helper, which listens for height messages from the widget and adjusts matching calculator iframes automatically. An iframe-only fallback is also available.
No. The embedded calculator is intentionally isolated from saved calculations, favorites, vial inventory, My Tools, and account data.
Yes. The generator lets you prefill vial amount, unit, liquid volume, and the amount to convert. Visitors can still edit those values inside the widget.