A smartphone projector calculator helps you to build a simple projector from a magnifying glass and a box. It uses the thin lens equation to find how far to put the phone from the lens, how far the wall must be, and how large the picture will be.
How to use the smartphone projector calculator
- Choose what to find: the lens to wall distance, the phone to lens distance, or the focal length.
- Enter the other values, all in the same length unit.
- Add the phone screen width if you want the size of the picture.
- Press Calculate.
How a lens projector works
A magnifying glass bends light from the phone screen so that it forms a real image on the wall. The project needs only a shoebox, a magnifying glass and a smartphone. You place the phone at the back of the box, the lens at the front and move the phone until the image on the wall is sharp.
The thin lens equation
The Wikipedia article on the thin lens gives the Gaussian thin-lens equation, 1 ÷ s₀ + 1 ÷ sᵢ = 1 ÷ f, where s₀ is the object distance, sᵢ the image distance and f the focal length [1]. In our notation u is the distance from the phone to the lens and v the distance from the lens to the wall. The calculator rearranges the equation into f = u v ÷ (u + v), v = u f ÷ (u − f) and u = v f ÷ (v − f).
Finding the focal length
The same equation can be solved for the focal length, f = u × v ÷ (u + v) [1]. To measure your lens, focus the picture on the wall, measure u and v to the centre of the lens, and choose focal length in the calculator. Repeat this with different phone distances and average the results, which cancels some errors. For u = 12 and v = 60 in centimetres, f is 10 centimetres, a typical value for a handheld magnifier.
Placing the phone
Once you know f, pick how far the projector will be from the wall, and the calculator tells you where to put the phone. For a lens of 10 centimetres focal length and a wall at 60 centimetres, the phone is 12 centimetres from the lens. A wall at 40 centimetres needs the phone at 13.3 centimetres. The closer the wall, the nearer the phone is to the focal length. These examples are our own calculations from the formula.
The phone must be beyond the focal length
A real image forms only when the object is farther from the lens than the focal length. The phone must be farther from the lens than f, and a lens with a focal length longer than the box cannot be focused. If you try values that break this, the calculator shows a warning. Choose a lens with a shorter focal length or use a longer box.
Magnification
The enlargement is the ratio of the image distance to the object distance, v ÷ u. The article on the thin lens defines the transverse magnification as the ratio of the image height to the object height [1], and the ratio of the distances is the standard equivalent, which we use as our own working. In the example above, 60 ÷ 12 gives a magnification of 5, so a screen 6.5 centimetres wide makes a picture about 32.5 centimetres wide.
An upside-down picture
The article's sign table shows that a real image has a positive image distance and that the magnification of an inverted image is negative [1]. Our reading is that the picture from a magnifying lens is upside down, so the calculator tells you to turn the phone upside down, or to lock its screen rotation on. This is the usual practice in simple box projectors and is a practical note rather than a quoted fact.
Brightness and sharpness
This tool gives no brightness formula. A larger picture spreads the same light over more area, so it is dimmer. Raise the screen brightness, darken the room and use a wall that is light and flat. A cheap lens is not sharp at the edges, so expect some blur. You can improve the focus by moving the phone in small steps.
Units
Because the equation uses ratios of distances, you can use any length unit, as long as it is the same for every box. Centimetres or inches are the easiest to measure. The width of the phone screen is in the same unit as the distances, so the width on the wall is too. If you measure a phone in inches and the distances in centimetres, you get a wrong answer.
Limits
The thin lens equation is an approximation that ignores the thickness of the lens and defects such as distortion and colour fringes. A real magnifying glass has a thick middle. Measure from the centre of the lens. For a commercial projector, use a projector calculator that works from the throw ratio and the screen size, and check the manual of the model.
Common mistakes
- Measuring to the edge of the lens. Measure to the centre.
- Placing the phone inside the focal length. The image would not form.
- Mixing centimetres and inches. Use one unit throughout.
- Forgetting to flip the phone. The picture is upside down.
What next
Use this often? Add Smartphone P to your Home screen.
Frequently asked questions
What is a smartphone projector calculator?
A tool that works out the distances for a DIY projector made with a magnifying glass and a phone.
What is the thin lens equation?
One over f equals one over u plus one over v, where u and v are the object and image distances.
How do I find the focal length of my magnifying glass?
Focus the picture, measure u and v to the lens centre, and use f equals u v over u plus v.
Why must the phone be beyond the focal length?
Inside the focal length the lens cannot form a real image on the wall.
Why is the picture upside down?
A thin lens makes a real, inverted image, so turn the phone upside down.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.