3D Printed Enclosure Calculator
Enclosure dimensions from PCB and component layout.
Inputs
%
Results
Enclosure Length (mm)
77.8
Enclosure Width (mm)
57.8
Enclosure Height (mm)31.3
Material Weight (g)60.8
Filament Length (m)20.38
Material Cost ($)$1.52
Est. Print Time (min)196.1
Total Cost ($)$1.58
How to Use This Calculator
- Enter your PCB length (mm), PCB width (mm), and the height of the tallest component (mm).
- Set wall thickness (mm) and infill percentage (%) for the structural properties you need.
- Enter filament cost per kg to calculate material cost for the enclosure.
- Review external enclosure dimensions, material weight (g), filament length (m), and print cost.
How the result changes with PCB Length (mm)
| PCB Length (mm) | Enclosure Length (mm) | Enclosure Width (mm) |
|---|---|---|
| 55 | 62.8 | 57.8 |
| 178 | 185.8 | 57.8 |
| 327 | 334.8 | 57.8 |
| 451 | 458.8 | 57.8 |
What each input means
- PCB Length (mm)
- Length of the circuit board to enclose.
- PCB Width (mm)
- Width of the circuit board to enclose.
- Tallest Component (mm)
- Height of the tallest component above the PCB (including connectors, heatsinks).
- Wall Thickness (mm)
- Enclosure wall thickness (2-3mm typical; use multiples of nozzle width, e.g. 0.4mm).
- Infill (%)
- Internal fill density for solid sections (20% typical, higher for structural strength).
- Filament Cost ($/kg)
- Cost per kilogram of filament (PLA ~$20-30/kg, PETG ~$25-35/kg).
What each result means
- Enclosure Length (mm)
- External length including walls and PCB clearance.
- Enclosure Width (mm)
- External width including walls and PCB clearance.
- Enclosure Height (mm)
- External height including top/bottom walls and component clearance.
- Material Weight (g)
- Estimated PLA filament weight needed.
- Filament Length (m)
- Length of 1.75mm filament needed.
- Material Cost ($)
- Filament cost based on weight and price per kg.
- Est. Print Time (min)
- Estimated FDM print time at typical speed.
- Total Cost ($)
- Material plus electricity cost.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersPCB Length (mm) = 70, PCB Width (mm) = 50, Tallest Component (mm) = 25, Wall Thickness (mm) = 2.4 = 6 input(s) provided
- Calculate Enclosure LengthEnclosure Length = internalLength + 2 * wallThicknessMm77.8 = 77.8
- Calculate Enclosure WidthEnclosure Width = internalWidth + 2 * wallThicknessMm57.8 = 57.8
- Calculate Enclosure HeightEnclosure Height = internalHeight + 2 * wallThicknessMm31.3 = 31.3
- Calculate Material WeightMaterial Weight = volumeCm3 * plaDensity60.8 = 60.8
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Hobby Electronics
PCB Design Cost Calculator
PCB fabrication cost from board size, layers, and quantity.
Hobby ElectronicsArduino Project Cost Calculator
Component cost from project parts list.
Hobby ElectronicsWire Gauge Calculator
Wire AWG from current capacity and voltage drop.
3D Printing & ManufacturingFilament Cost Calculator
Calculate the cost of 3D printing a model based on filament weight, spool price, and waste percentage.
Additive Manufacturing3D Printing Material Comparison Calculator
Compare FDM material properties against your requirements for tensile strength, heat resistance, flexibility, and cost.
More in Technology & Computing.