Skip to content
mtwlzPublic

About

A cross-platform water flow calculator for firefighting.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Fire-Calc

Fire-Calc is a lightweight, mobile-friendly fire service calculator built with React and Vite. It helps estimate common hydraulic values used in the field, including engine pressure, friction loss, relay pumper needs, and tender relay performance.

What this app does

Fire-Calc provides a simple set of calculators for quick field-style estimates:

  • Engine Pressure: estimate target pump discharge pressure using nozzle pressure, flow, hose length, elevation change, appliance loss, and hose condition.
  • Friction Loss: calculate pressure drop through a hose line based on flow, hose length, diameter, and hose condition.
  • Relay Pumpers: estimate how many pumpers are needed for a relay operation based on flow and relay length.
  • Relay Performance: estimate a tender’s actual flow rate from tank size, distance, and fill/dump times.

The app also includes:

  • Imperial and metric unit support
  • Light/dark theme support
  • A Progressive Web App experience for installation and offline-friendly use

Tech stack

  • React
  • Vite
  • PWA support via vite-plugin-pwa
  • Font Awesome icons

Getting started

Prerequisites

  • Node.js 18 or newer
  • npm

Install dependencies

npm install

Run locally

npm run dev

This starts the Vite development server so you can view the app in your browser.

Build for production

npm run build

Preview the production build

npm run preview

Project structure

  • src/App.jsx: main app shell and shared state
  • src/pages/: calculator screens for each feature
  • src/utils/: constants and math helpers
  • public/: static assets and PWA files

Notes

These calculations are intended for estimation and training purposes. Actual field conditions can vary significantly, so always follow your department’s procedures, policies, and training.

About

A cross-platform water flow calculator for firefighting.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages