Phone Stand 3D Print: Design in 5 Minutes
March 15, 2026 • Tom Silas Helmke • Updated
A phone stand needs three features: a lip that stops the phone sliding, a back plate that sets the viewing angle, and a slot for the cable. This guide gives a parametric script for CADFaber's code mode, explains how the dimensions relate and how to check that the stand does not tip over.
Work along in the CADFaber Editor and use the complete guide as your reference while applying the steps below.
Three parts, four numbers
The stand is a base plate, a front lip and a back plate that leans backwards. Four values decide the fit: the width, the phone thickness including its case, the lean of the back plate and its height. The gap between lip and back plate is the phone thickness plus 1.5 mm of clearance, so a case does not jam the phone.
The script
The base reaches under the leaning back plate. Without that, the plate would tilt out over the edge of the base and the stand would fall over backwards, even with a phone resting on it.
const jscad = require('@jscad/modeling')
const { cuboid } = jscad.primitives
const { union, subtract } = jscad.booleans
const { translate, rotateX } = jscad.transforms
const getParameterDefinitions = () => [
{ name: 'width', type: 'number', initial: 70, min: 50, max: 120, step: 1, caption: 'Width (mm)' },
{ name: 'phoneThickness', type: 'number', initial: 10, min: 7, max: 16, step: 0.5, caption: 'Phone thickness incl. case (mm)' },
{ name: 'tilt', type: 'number', initial: 15, min: 5, max: 40, step: 1, caption: 'Back lean from vertical (deg)' },
{ name: 'backHeight', type: 'number', initial: 80, min: 50, max: 140, step: 1, caption: 'Back height (mm)' },
{ name: 'cableWidth', type: 'number', initial: 14, min: 8, max: 30, step: 1, caption: 'Cable slot width (mm)' },
]
const main = (p) => {
const t = 4, lipT = 4, lipH = 12, clearance = 1.5, frontMargin = 4
const gap = p.phoneThickness + clearance
const backY = frontMargin + lipT + gap + t // rear face of the back plate at the base
const lean = p.backHeight * Math.sin((p.tilt * Math.PI) / 180)
const depth = backY + lean // base reaches under the leaning plate
const base = translate([0, depth / 2, t / 2], cuboid({ size: [p.width, depth, t] }))
const lip = translate([0, frontMargin + lipT / 2, t + lipH / 2], cuboid({ size: [p.width, lipT, lipH] }))
const back = translate([0, backY - t / 2, t],
rotateX(-(p.tilt * Math.PI) / 180, translate([0, 0, p.backHeight / 2], cuboid({ size: [p.width, t, p.backHeight] }))))
const slot = translate([0, backY - t / 2, t + 5], cuboid({ size: [p.cableWidth, t + 12, 10] }))
return subtract(union(base, lip, back), slot)
}
module.exports = { main, getParameterDefinitions }What it measures and why it stands
With the defaults the stand measures 70 x 44.2 x 81.8 mm and has a volume of about 37.5 cm3. The library puts the center of mass at 26.5 mm from the front, inside the 44.2 mm deep base, so the stand rests on its base rather than tipping.
A steeper lean costs footprint. At a 5 degree lean the stand is 30.5 mm deep; at 40 degrees it is 74.9 mm deep, because the base must follow the plate. Choose the angle you need to read the screen, not the biggest one.
Print it without supports
Print the stand flat on its base. The back plate leans 15 degrees from vertical, well below the 45 degree overhang limit that CADFaber's Print Analysis panel uses, so it needs no supports. The cable slot has a flat roof 14 mm wide, which most printers bridge without trouble.
FDM parts are weakest between layers. A phone pushes the back plate backwards at the base, where the layers join, so use three or more perimeters or increase the plate thickness from 4 to 5 or 6 mm if it flexes.
Fit it to your phone
Measure your phone with its case at the thickest point and enter that as the phone thickness. Print once, then adjust in 0.5 mm steps. If the phone leans too far back, reduce the tilt; if the cable fouls, widen the cable slot.
The template library also has a Phone Stand template with its own parameters. Compare it with the script above and keep whichever suits your phone.