What you’ll build
A calculator that takes the two short sides of a right triangle (a and b) and returns the hypotenuse (c) using:c = sqrt(a^2 + b^2)
By the end, you’ll have a published calculator you can preview and share with your team.
Video walkthrough
Before you start
- A Calcs.com account with access to Calcs Builder
- Any modern browser (Chrome, Firefox, Safari, Edge)
This guide uses meters (m) as an example unit. You can choose different units or leave units blank—just keep them consistent.
Key concept: RefID vs Symbol
Calcs Builder uses two identifiers for each widget:- RefID: the internal name used in equations (keep it simple: letters/numbers/underscores).
- Symbol: what shows up in displayed math (can use richer notation for readability).
Step 1: Open Calcs Builder
Sign in
Go to app.calcs.com and log in.
Step 2: Name your calculator and create a section
Fill in basic details
At the top of the editor:
- Template Name:
Pythagoras Calculator - Description: Calculate the hypotenuse of a right triangle using the Pythagorean theorem
Set a calculator code
Choose a short, unique calculator code such as
pythagoras. This is used in URLs and sharing.Step 3: Add inputs for sides a and b
Add two Input widgets—these are the values users will enter.Add Input: Side a
Click Add Widget → Input, then configure:
- Label:
Side a - RefID:
a - Symbol:
a - Units:
m(or leave blank) - Default value:
3
If you use units, keep both inputs in the same unit system (e.g., both in
m). Mixed units can lead to confusing results.Step 4: Add the hypotenuse equation
Now add an Equation widget that computes c.Step 5: Preview and test
Step 6: Save and publish
Confirm your draft is saved
Changes save automatically as you edit. Drafts are only visible to you until published.
Once published, you can share the calculator link (based on the calculator code) so teammates can use the tool without editing the template.
You’re done 🎉
You built a complete Calcs Builder template using the standard workflow:| Phase | What you did |
|---|---|
| Inputs | Collected user data (sides a and b) |
| Equation | Computed the hypotenuse using sqrt(a^2 + b^2) |
| Output | Displayed the result (c) in the calculator |
What to try next
Widget Overview
Learn what each widget type does and when to use it.
Your First Calculation: Area Calculator
Follow a second guided build (length × width).
Common Workflows
See practical patterns used in real templates.
Template Features
Explore advanced options like reports and template settings.
- Add validation (e.g., require positive values)
- Add a diagram showing where a, b, and c are measured
- Use lookup tables for standard values (materials, coefficients, etc.)
- Configure reports for export/print-ready outputs
Need help?
- Troubleshooting
- Best Practices
- Support — support@calcs.com
