A comprehensive web-based calculator tool for textile and fabric professionals. Perform essential textile calculations including GSM, denier-tex conversion, thread count, fabric cost estimation, and yarn count conversion.
- GSM Calculator - Calculate Grams per Square Meter from fabric weight and area
- Denier to Tex Converter - Convert between denier and tex units
- Thread Count Calculator - Calculate total thread count from warp and weft densities
- Fabric Cost Calculator - Estimate fabric cost based on GSM, area, and price per gram
- Yarn Count Converter - Convert between Ne (English cotton count) and Nm (metric count)
- Keyboard support - Press Enter to calculate all values simultaneously
- HTML5
- CSS3
- JavaScript
-
Clone the repository
git clone https://github.com/reyrove/textile-calculator.git
-
Navigate to the project folder
cd textile-calculator -
Open
index.htmlin your browser
textile-calculator/
├── index.html
├── style.css
├── script.js
├── README.md
├── LICENSE
└── .gitignore
Calculates fabric weight in grams per square meter.
- Input: Fabric weight (grams), Fabric area (m²)
- Output: GSM value (g/m²)
Converts between denier and tex yarn measurement units.
- Denier to Tex: Divide by 9
- Tex to Denier: Multiply by 9
Calculates total thread count from warp and weft densities.
- Input: Warp density (threads/inch), Weft density (threads/inch)
- Output: Total thread count
Estimates total fabric cost.
- Input: GSM (g/m²), Area (m²), Cost per gram ($)
- Output: Estimated total cost
Converts between Ne (English cotton count) and Nm (metric count).
- Formula: Ne × 1.693 = Nm
- Open the application in any modern web browser
- Fill in the required fields for the calculation you need
- Click the corresponding calculate button
- View the result below each section
- Press Enter to calculate all sections at once
- Google Chrome
- Mozilla Firefox
- Safari
- Microsoft Edge
You can easily modify:
- Conversion formulas in
script.js - Color scheme in
style.css - Add new calculator functions
MIT License - see the LICENSE file for details
Created by Reyrove