Embed Our Roof Pitch Calculator on Your Website

Within minutes, you can add one of our 6 roof calculators to your website. Simply select the most suitable calculator for your customers, then copy and insert the relevant code onto your site. Customers are then able to instantly use the calculator. There is no requirement for you to develop or commission any software.

Six embeddable tools

1. Roof Pitch Calculator

Users input a rise and run value and instantly receive information about the pitch, angle, percentage slope and multiplier. They also find out the rafter length. This is typically the first tool that is required by most roofing websites.

<iframe src="https://roofpitchiq.com/embed/roof-pitch-calculator/" width="100%" height="500" frameborder="0" scrolling="no" title="Roof Pitch Calculator — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

2. Roof Area & Shingle Estimator

Users enter details of the length and width of a building along with a roof pitch. Information then provided includes the area of the roof (taking the slope into consideration), together with the amount of squares and shingle packs which should be ordered. Waste incurred during cutting is also taken into consideration.

<iframe src="https://roofpitchiq.com/embed/roof-area-shingle-estimator/" width="100%" height="500" frameborder="0" scrolling="no" title="Roof Area & Shingle Estimator — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

3. Roof Pitch Chart

Rather than calculate pitches, users can consult this chart. It displays all complete pitches (between 1:12 and 18:12) together with their corresponding angles, percentages and multipliers.

<iframe src="https://roofpitchiq.com/embed/roof-pitch-chart/" width="100%" height="500" frameborder="0" scrolling="no" title="Roof Pitch Chart — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

4. Rafter Length Calculator

users enter in the span and roof pitch. The calculator then shows them the rafter length together with overhang and board size. This so that users do not have to return to the wood store to get the right size board.

<iframe src="https://roofpitchiq.com/embed/rafter-length-calculator/" width="100%" height="500" frameborder="0" scrolling="no" title="Rafter Length Calculator — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

5. Pitch to Degrees Converter

users can convert between pitch, degrees and gradient. They simply enter in a value and the other two are displayed.

<iframe src="https://roofpitchiq.com/embed/pitch-to-degrees-converter/" width="100%" height="500" frameborder="0" scrolling="no" title="Pitch to Degrees Converter — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

6. Roof Cost Estimator

using the area, pitch and material, users can predict a planning cost for a new roof. Again this is just for planning purposes and not a quotation. Users can so get an idea of what a roofing cost could be before contacting a roofer.

<iframe src="https://roofpitchiq.com/embed/roof-cost-estimator/" width="100%" height="500" frameborder="0" scrolling="no" title="Roof Cost Estimator — RoofPitchIQ"></iframe>

Size options: Responsive — width 100%, height 500 (the code above). Fixed — width 640, height 500: use the same code with width="640" height="500".

Embedding

Embedding involves inserting our calculator into your website within an ‘iframe’. While the calculator is still hosted on our website, your customers can view and interact with it. Customers input information into and receive outputs from the embedded calculator. Essentially it is the same concept as embedding a map or video. As it is in a specific area, it can be displayed on multiple websites.

An iframe is standard on a web page and is widely accepted by most website building and content platforms. WordPress, Squarespace, Wix and even basic HTML pages can all include an iframe. By copying and pasting a short section of code from this page onto your website, you are instructing a browser to display our calculator in the relevant area. Your website continues to have its own style, heading and content. Just the calculator box is sourced from us.

Reasons for adding our calculator

Customers value interactive websites. For example, someone designing a roof will wish to ascertain the roof pitch prior to contacting a roofer. Likewise, those involved in construction may require a rapid on-site solution via their mobile. And a student may need to verify data provided for them in lessons. Should your website not contain an embedded calculator, customers must exit to access one. However, if it does include our calculator then customers remain on your website. People not only engage with your website through using the calculator, but also gain increased confidence in it. Customers are therefore more inclined to revisit.

While it is possible to develop a calculator, this is a significant task. Although the mathematical element is relatively straightforward, there are numerous other considerations to address. The calculator must be able to recognise and respond to inappropriate data, present results in an easily understandable manner and function effectively on a mobile phone’s limited display. Plus, it must continue to provide accurate results. We have already developed a calculator which fulfils these requirements and regularly update it. Any site embedding our calculator is automatically updated should we amend our calculator to resolve issues or enhance outcomes. Thus, you benefit from a functioning calculator without needing to undertake any action. Furthermore, there is no requirement for you to carry out maintenance.

How it works in three steps

Each of the 6 tools can be embedded using the identical process. Simply select a tool, click ‘copy’ and then insert that code onto a page.

  1. Click the ‘copy’ button which is alongside the relevant tool. This will then copy the code to your clipboard – no manual input is required.
  2. Edit the page where you wish to display the calculator. Within WordPress, insert a ‘Custom HTML’ block and then insert the code. Within another page builder, search for either an ‘embed’ or ‘HTML’ block and insert the code. For standard HTML files, insert the code within the body tags in the place which you want to display the box.
  3. Save and preview your page. The calculator should then be displayed in the correct location. Testing with a rise of 6 and a run of 12 should result in a pitch of 6:12, an angle of 26.57 degrees and a percentage slope of 50. If this is what is shown then your embedding has been successful. There is no sign-up, no password to copy and no files to upload.

Sizes

By default, each of the above calculators is responsive and will automatically expand to fit within the page or column that it is on. It has a height of 500 pixels which is suitable for most pages. Responsiveness also means that calculators will display correctly on mobiles as they will expand and contract with the screen. Should you wish to have a non-responsive calculator then alter the code so that the width is 640 pixels and the height 500 pixels. This will create a box of this exact size. Alternatively, if you would like the calculator to expand to occupy the whole width of a wide page, set the width to 100 percent and the height to 500 pixels. Do not reduce the height by too much or the lower part of the calculator may become obscured. For a narrow page column, the responsive calculator is usually the ideal solution.

The rules

The widget is free to embed. Below are the terms of use. Firstly always show the RoofPitchIQ logo and ensure there remains an active link to roofpitchiq.com. Secondly, never take ownership of our calculator – this is made clear in the link. Thirdly, do not sell access to or charge for our calculator as it is free to use. Finally, never amend the code; never redirect the widget to another site; and never add text implying functionality which does not exist. We can also disable widgets if we feel they are being misused for instance by excessively accessing the calculator or by placing it behind a subscription pay wall. As long as you adhere to these 5 points then you can continue to display our widget on your site.

Frequently asked questions

Is the widget truly free?

Yes. No charge, no trial period and no sign up is required. You can embed the calculator on your personal blog, business or even school web pages. Again, there is no cost except for the brand and link which must remain on show.

Will the widget affect the speed of my web page?

Provided that your web page is not already particularly slow then our widget should not make it so. Our widget is accessed from our web site and so is loaded secondly. Again your text and graphics are first. In addition, the widget itself is a small file. Should your web page be slow for other reasons then we cannot help with this but the widget itself will not significantly contribute to this.

Can I re-brand and/or remove the logo?

No. The color scheme and logo are fixed and serve to inform users that the calculator originates from RoofPitchIQ. This is also integral to the free service agreement. If you wish to have a differently branded calculator then you will have to develop your own version. Our calculator continues to be in our brand colors and includes our brand name.

Try the roof pitch calculator · Read the API docs