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
1
Sign in
Go to app.calcs.com and log in.
2
Open Calculator Builder
In the main navigation, select Calculator Builder.
3
Create a new calculator
Click Create a new calculator.
Step 2: Name your calculator and create a section
1
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
2
Set a calculator code
Choose a short, unique calculator code such as
pythagoras. This is used in URLs and sharing.3
Add a section for triangle dimensions
Create a section (for example Triangle Dimensions) to keep your inputs and equations organized.
Step 3: Add inputs for sides a and b
Add two Input widgets—these are the values users will enter.1
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
2
Add Input: Side b
Add another Input widget with:
- Label:
Side b - RefID:
b - Symbol:
b - Units:
m(or leave blank) - Default value:
4
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.1
Add the Equation widget
Click Add Widget → Equation (in the same section or a new one).
2
Configure the output variable
Set:
- Label:
Hypotenuse c - RefID:
c - Symbol:
c - Units:
m(or leave blank)
3
Enter the formula
In the formula editor, enter:
Step 5: Preview and test
1
Open Preview
Click Preview (top right) to see what users will see.
2
Run a quick test
Enter a = 3 and b = 4. You should get c = 5 (the classic 3–4–5 triangle).
3
Validate with a second test
Try a = 5 and b = 12. You should get c = 13.
Step 6: Save and publish
1
Confirm your draft is saved
Changes save automatically as you edit. Drafts are only visible to you until published.
2
Publish
Click Save/Publish to share with your team or use it in real projects. Add a short note so others understand what changed.
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: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
