A standalone HTML, CSS, and JavaScript application for calculating geometric volumes and forestry cubage with business rules tailored to timber operations.
The application can calculate the volume of:
- Cylinder
- Cone frustum
- Rectangular prism
- Cone
- Sphere
The application supports three standard log cubage methods:
- Smalian
- Huber
- Newton
Input dimensions can be entered in:
- millimeters
- centimeters
- meters
All length inputs are automatically converted to meters before calculation.
The forestry module is designed around a domain-specific distinction between softwoods and hardwoods.
For Smalian, Huber, and Newton, the computed log volume is treated as:
- m³ over bark
This is the starting forestry volume.
For softwoods, the application also calculates:
- m³S under bark
The under-bark volume is derived using a fixed bark deduction of 12%:
m³S = m³ over bark × 0.88