Cement Lab · IS 4031
Dashboard
🧪 Cement Lab · IS 4031 Documentation
Cement Lab is a responsive web application for recording, calculating, and displaying results of standard cement laboratory tests as per Indian Standard IS 4031. It provides a clean, modern interface with real‑time pass/fail evaluation, a dashboard summary, dark mode, and data persistence.
📋 Features Overview
🧪 Tests Included
The application covers all required physical, chemical, and other tests. Each test appears as a separate card with input fields, a calculate button, and a result area showing pass/fail based on IS limits.
| Category | Test Name | Inputs | Calculation / Limit (IS 4031 approx.) |
|---|---|---|---|
| Physical | Fineness (Sieve) | Weight retained (g) | % fineness = (retained/100)*100; ≤10% passes |
| Standard Consistency | Penetration (mm), Water % | Water % is consistency; 25–35% passes | |
| Setting Time | Initial (min), Final (min) | Initial ≥30, Final ≤600 passes | |
| Soundness | Expansion (mm) | Expansion ≤10 mm passes | |
| Compressive Strength | Load (N), Area (mm²) | Strength = Load/Area (MPa); ≥33 MPa passes | |
| Specific Gravity | Mass cement, bottle+water, bottle+water+cement | SG = wc / (wb + wc - wbc); 3.1–3.2 passes | |
| Heat of Hydration | Temp 7d, 28d (°C) | Heat = (temp-20)*2.5 kJ/kg; (no limit, shows chart) | |
| Chemical | LOI | Initial wt, Final wt | LOI% = (init-final)/init*100; ≤5% passes |
| Silica | Sample (g), Residue (g) | SiO₂% = residue/sample*100; 18–24% passes | |
| Alumina | Sample (g), Al₂O₃ (g) | Al₂O₃% = al/sample*100; 4–8% passes | |
| Iron Oxide | Sample (g), Fe₂O₃ (g) | Fe₂O₃% = fe/sample*100; 2–5% passes | |
| Lime | Sample (g), CaO (g) | CaO% = cao/sample*100; 60–67% passes | |
| Magnesia | Sample (g), MgO (g) | MgO% = mgo/sample*100; ≤6% passes | |
| Sulphur | Sample (g), SO₃ (g) | SO₃% = so3/sample*100; ≤3% passes | |
| Alkali | Sample (g), Na₂O+K₂O (g) | Alkali% = alk/sample*100; ≤1.5% passes | |
| Other | Bulk Density | Mass (g), Volume (cm³) | Density = mass/vol (g/cm³); 1.3–1.6 passes |
| False Set | Penetration (mm), Initial penetration (mm) | Ratio = pen/initPen*100; ≥50% passes |
🚀 How to Use the Application
- Enter values in any test card (default values are pre‑filled).
- Click the
Calculatebutton – the result and pass/fail status appear immediately. - The Dashboard at the top automatically updates with a summary of all calculated tests.
- Use the header buttons:
CSV– Export all results to a CSV file.Save– Store current input values in your browser’s local storage.Load– Restore previously saved inputs.Dark/Light– Toggle between colour themes.
- For the Heat of Hydration test, after calculation a line chart appears below the test grid.
- Hover over the icon next to each input label to see a tooltip with the default value.
💡 Additional Features
- Responsive design – works on mobile, tablet, and desktop using CSS Grid and Flexbox.
- Input validation – negative values are not allowed; an alert warns the user.
- LocalStorage – persists your work even after closing the browser.
- Chart.js – visualises the heat of hydration trend (7d and 28d).
- Pass/Fail colour coding – green for PASS, red for FAIL.
📁 Technical Implementation
The application is built with pure HTML, CSS, and JavaScript. It uses Font Awesome for icons and Chart.js for the optional graph. All code is contained in a single HTML file for easy deployment. The logic is modular, with each test defined as an object containing its inputs, calculation function, and IS limit.
📌 Bookmark
Visit NeuroCivil.com for more engineering tools and resources.

