tofu
TemplatesPricingDocsUse your AI tool
Start free
  1. Templates
  2. Handy tools
  3. Unit calculator

Unit calculator

Scientific math and conversions

From the open-source project Numbat

Do math with units, like 5 inches plus 2 feet in centimeters.

Make it mineTry it (opens the authors’ own copy in a new tab)

“Make it mine” asks you to sign in first. On the Free plan, your copy is your one app; you can delete it any time.
“Try it” opens the authors’ own copy, not yours.

Unit calculator
Made by
sharkdp
Licence
MIT OR Apache-2.0
Popularity
2.8k stars on GitHub
Uses
Your browser

What you can do

  • Multiply a speed by a time and get the distance
  • Use built-in constants, like the speed of light
  • Get a clear warning when the units don't match

Who it’s forStudents, engineers and anyone who converts units a lot

Once it’s yours

  • Your own copy, at its own address
  • Anyone with its address can open it, until you choose who can
  • Change it with your own coding agent

Ideas for changing it

Once it’s live, give any line below to your coding agent.

  • Build in our own units, like 1 crate = 24 bottles

  • Show a few example calculations under the input box

  • Make it look less like a programmer's terminal

Source and licence

It comes from the open-source project Numbat: its authors, sharkdp, published the code for anyone to use and change. Its licence covers the code, not the name, so the copy on Tofu goes by a plain name.

Its licence, MIT OR Apache-2.0, lets you use and change it freely, as long as you keep the authors’ copyright notice.

Your copy is the version you copied; the authors’ later updates don’t arrive by themselves.

This version on TofuThe authors’ original code

More like this

All templates
  • OmniToolsEveryday toolboxOne web page for all the little jobs on images, PDFs and text, without uploading your files.
  • BentoPDFPDF toolkitHandle everyday PDF jobs in your browser without uploading your files.
  • Mini QRQR code makerMake QR codes in your own colors with a logo in the middle, ready to save and print.
tofu

Describe an app, or bring one from your agent. Tofu puts it online.

Works with any coding agent

Product

  • Features
  • Pricing
  • Security
  • Agent & CLI

Resources

  • Docs
  • Guides
  • Blog
  • Deploy an app
  • Connect your agent
  • Database
  • Sign-in & email
  • Domains
  • Payments
  • For AI agents

Compare

  • All comparisons
  • Tofu vs. setting it up yourself
  • Ways to put an AI-built app online

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Domain terms

© 2026 Tofu

trytofu.ai