Convert roof pitch between rise-over-run, degrees and percent, plus the rafter multiplier and real rafter length — browser-only
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Half the building span for a simple gable. Leave blank to skip the rafter length.
What this tool does
Free roof pitch calculator that converts a roof slope between the three ways people actually write it: rise over run (the 6/12 framing notation), angle in degrees, and slope as a percentage. Type any one of them and the other two update instantly, alongside the rafter multiplier — the factor you multiply a horizontal run by to get the true sloped length before you cut any lumber. Give it the horizontal run (half the building span for a simple gable) and it returns the actual rafter length in metres or feet. A scaled cross-section keeps the geometry honest so a 4/12 really does read as about 18.4 degrees. Everything runs in your browser, with one-click copy and a shareable URL that reproduces the exact roof you set up. 100% client-side, nothing uploaded.
Tool details
- Input
- Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy + Preview
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 10 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Operations
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Roof Pitch Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Stair Calculator Total rise + steps → rise/run, slope, Blondel comfort check + side-view diagram — metric & imperial, browser-only Open
- 2 Slope Calculator Two points in, full line out — slope, angle, distance, midpoint, y = mx + b and grade % — browser-only Open
- 3 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open
Real-world use cases
Translate a 6/12 spec into the angle your saw wants
The plans say a 6/12 main roof but your miter saw and rafter layout think in degrees. Type 6 over 12 and read 26.57 degrees straight off. Set the saw, cut the test rafter, and check it against the SVG cross-section before you commit a whole bundle of framing lumber.
Buy the right amount of rafter stock for a gable
You know the building is 8 metres wide and the roof is 8/12. Enter the pitch, set the run to 4 metres (half the span), and the tool returns the rafter line length. Multiply by the number of rafters, add your overhang and waste, and the lumber order stops being a guess.
Check a low-slope roof against a shingle minimum
A shingle product sheet lists a minimum slope in percent, not in rise over run. Punch in your 3/12 and read 25 percent, or about 14 degrees, then compare it to the spec. If you are below the single- layer threshold you find out now, not after the underlayment is down.
Match an architect's degree drawing to a framer's notation
The architect dimensioned the roof at 22.5 degrees but the framing crew needs an x/12 number to lay out with a framing square. Switch to angle mode, type 22.5, and the tool hands back roughly a 5/12 pitch so both trades are working from the same slope.
Common pitfalls
Confusing percent slope with degrees. A 50 percent slope is 6/12 and about 26.57 degrees, not 50 degrees. Percent is rise over run times 100, while degrees is the actual angle, and a 100 percent slope tops out at 45 degrees. Always confirm which scale a spec is quoting before you set a saw.
Multiplying the full building span by the rafter multiplier. For a gable, each rafter only spans from ridge to wall, which is HALF the width. Feeding the whole 8 metre span instead of 4 metres doubles every rafter and blows the lumber order. Enter half the span as the run length.
Forgetting the rafter multiplier and using the horizontal run as the rafter length. A 6/12 rafter is about 11.8 percent longer than its horizontal projection. Cutting rafters to the flat run leaves every piece short, so always multiply the run by √(rise² + run²) ÷ run first.
Privacy
Every conversion — pitch to angle, angle to pitch, the percentage, the rafter multiplier and the rafter length — is plain JavaScript that runs in your browser tab. No roof dimension or measurement ever leaves the page, and nothing is logged. The one caveat: the shareable URL encodes your slope and run length in the query string, so a share link pasted into chat records those numbers in the recipient server's access log. For a confidential job, use the copy button and paste the text instead.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- AI Eval Planner Generate eval cases, pass criteria, and edge cases from an AI feature, risks, and user path.
- Annulus Area Calculator Area between two concentric circles — A = π(R² − r²), ring width, inner and outer circumference, solve backwards from area — browser-only
- awk + sed Cheatsheet awk + sed cheat sheet — 80+ one-liners for text processing, with real examples and common pitfalls.
- AWS CLI Cheatsheet AWS CLI cheat sheet — 80+ commands for EC2 / S3 / IAM / Lambda / RDS / EKS / CloudFormation with real examples.