Generates code to show this calculator on your own website. Two versions are offered:

  • Script version auto-fits its content: it grows or shrinks as results appear, so there is no inner scrollbar. It needs <script> to be allowed on the host page. height is ignored.
  • No-JavaScript version is a plain <iframe> for sites that strip scripts (e.g. many CMS and forum editors). It does not follow the content: it scrolls inside the frame when the content is taller than height.

height for the iframe is either pixels (e.g. 600) or 100%. 100% fills the parent element, so it only works when the parent has its own height (e.g. a container with a fixed height or 100vh). Otherwise it collapses to about 150px.

run shows the results as soon as the calculator loads. Both versions hide the share and favorite buttons. Use Preview to check the result before pasting.

No separate help page is available for this topic ...


Help
Help


Calculator: embed_code, Created by: qcalc, V#0: , Variant owner: , Link,  Core