This tool will help you easily calculate the materials and cost needed for your roofing project.

## How to Use the Roofing Calculator

To use the roofing calculator, follow these steps:

- Enter the length of the roof in feet in the “Length” input field.
- Enter the width of the roof in feet in the “Width” input field.
- Enter the pitch of the roof as a ratio (e.g., for a 6/12 pitch, enter 6) in the “Pitch” input field.
- Click the “Calculate” button to see the total area of the roof in square feet.

## How It Calculates the Results

The calculator first computes the flat surface area of the roof by multiplying the length by the width. Then, it adjusts the area based on the roof pitch using the following formula:

`Total Area = Length x Width x (sqrt(Pitch`

^{2} + 12^{2}) / 12)

## Limitations

The calculator has a few limitations to be aware of:

- It assumes a simple rectangular roof and does not account for additional complexities such as dormers or multi-level roofs.
- The pitch should be entered as a single number representing the rise over 12 inches (e.g., for a 6/12 pitch, enter 6).
- The input values should be valid, positive numbers greater than zero.