Invoice Tools

Home

Free calculators you can put on your own website

Copy two lines of code and a working tip, percentage or markup calculator appears on your page. It is free, needs no signup and runs in the visitor browser.

Keep the small credit link under each calculator. That is the only condition.

The short version

Paste two lines of code and a working calculator appears on your page: tip, percentage or markup. It is free, needs no account, and runs entirely in the visitor's browser. A small "by Invoice Tools" link under each calculator is the only condition.

Who this is for

Bloggers who write about restaurants, pricing or small business money, accountants and bookkeepers with a client resources page, trade and freelancer sites that want a quick tool for customers, and teachers who need a calculator on a course page.

The three calculators

Tip calculator

Enter the bill and a tip percentage, and split the total between people if you like. It shows the tip, the total and what each person pays. Full version with a quick reference table: tip calculator.

Code to paste

<div data-it-calc="tip"></div>
<script src="https://invoicetools.com/assets/embed/it-embed-v1.js" async></script>

Percentage calculator

Three questions in one card: what is X% of Y, X is what percent of Y, and the percent change from X to Y. Full version with worked examples: percentage calculator.

Code to paste

<div data-it-calc="percent"></div>
<script src="https://invoicetools.com/assets/embed/it-embed-v1.js" async></script>

Markup calculator

Enter your cost and a markup percentage to see the selling price, the profit and the margin that markup produces. Margin is profit divided by the selling price, so it is always lower than the markup. Full version with a markup to margin table: markup calculator.

Code to paste

<div data-it-calc="markup"></div>
<script src="https://invoicetools.com/assets/embed/it-embed-v1.js" async></script>

How to add one

  1. Copy the two lines under the calculator you want.
  2. Paste them into a Custom HTML block or the HTML view of your page, where you want the calculator to appear.
  3. Save and reload. The calculator loads when the page opens.

If you use more than one calculator on a page, include the script line once and a separate div for each.

How it is checked

Each calculation is tested against known values before release: for example 18% on an $85.00 bill is $15.30, 15% of 200 is 30, a change from 80 to 100 is +25%, and a 25% markup on $200 gives a $250.00 price and a 20% margin. Results round to the cent.

Questions, answered

Is it really free?

Yes. There is no signup, no fee and no limit on how many sites or pages use it. The one condition is that you keep the small "by Invoice Tools" link under each calculator.

Does the calculator send what visitors type anywhere?

No. It runs in the visitor's browser. The script makes no requests of its own and stores nothing, so there is nothing to disclose in a privacy notice beyond loading the script file from invoicetools.com.

Will it work on WordPress, Wix, Squarespace or plain HTML?

It needs a place where you can paste a custom HTML block that allows a script tag. WordPress (Custom HTML block), Squarespace (Code block) and plain HTML pages work. Some site builders strip script tags from posts, in which case link to the full calculator instead.

Can I change the colors or size?

Not in this version. The calculator is a fixed-width card of up to 420 pixels that sits inside whatever column you place it in. If you need a different look, link to the full calculator page.

Which calculators are available?

Tip, percentage (percent of a number, what percent, and percent change) and markup with the resulting margin. Each links to its full version on Invoice Tools, which adds worked examples and more detail.

What if I remove the credit link?

Please do not. The link is the price of the free embed. If it is removed, the embed may stop being supported.

What this is. A free tool offered by Invoice Tools. The full calculators and the rest of the free invoice tools are on the tools page.

Try it before you read more

The invoice generator is free, with no account or card. Make one, download it as a PDF and see whether it fits.

The first four documents you send as a tracked link are free with an account. Everything else on Invoice Tools stays free. Generators, calculators and downloads need no account; template designs need a free one.