Smartphone Projector Calculator - DIY Projector Optics and Setup

Use this smartphone projector calculator to find the exact positioning of your phone and projector screen using focal length and thin lens physics.

Updated: June 28, 2026 • Free Tool

Smartphone Projector Calculator

Select the unknown value you want the calculator to compute.

The focal length of your magnifying glass lens (positive value in cm).

Distance from your phone screen to the magnifying glass lens (in cm).

Distance from the magnifying glass lens to the wall or screen (in cm).

The diagonal screen size of your smartphone (in inches).

Results

Solved Distance / Focal Length
0cm
Image Magnification (M) 0
Projected Image Diagonal 0inches
Magnification Status 0
Image Orientation 0

What Is Smartphone Projector Calculator?

A smartphone projector calculator is a practical tool designed to help you set up, focus, and optimize a DIY projector using a smartphone, a shoebox, and a simple magnifying glass lens. By calculating the physical distances required for perfect image convergence, you can skip the frustrating trial-and-error process and determine exactly where to place your device. Whether you are building a fun weekend physics project, creating a cozy bedroom movie theater setup, explaining light behavior to students, or demonstrating geometric optics in a classroom, this tool provides the exact mathematical dimensions you need.

  • Focusing a Shoebox Projector: Determine the precise spacing between your smartphone screen and the magnifying glass lens inside a shoebox so that light rays focus perfectly on your screen.
  • Finding Magnifying Glass Focal Length: Calculate the unknown focal length of a magnifying glass by measuring the phone-to-lens and lens-to-wall distances when a sharp image is formed.
  • Sizing the Projected Image: Predict the size and diagonal width of the projected image on your wall based on how far your shoebox is placed from the screen.
  • Curriculum Physics Demonstrations: Provide a live, physical demonstration of geometric lens formulas and real-image inversion for physics teachers and students.

Building a smartphone projector is one of the most accessible and educational DIY activities in applied optics. At its core, the project uses a single convex lens to capture light rays emanating from a smartphone display and project them onto a distant wall. However, without knowing the lens properties, you might spend hours moving the phone back and forth trying to get a clear picture.

This calculator resolves that issue by using your magnifying glass's focal length to output the correct distance. By using it, you can design a custom-sized shoebox enclosure and position it at the proper distance from the wall for the largest possible sharp screen.

The math behind this projector is based on geometric optics, which you can explore in detail using our thin lens equation.

How Smartphone Projector Calculator Works

The smartphone projector calculator operates using basic geometric optics principles, specifically thin lens refraction and the conjugate distance relationship.

1/f = 1/u + 1/v
  • f (Lens Focal Length): The distance from the lens center to its focal point, defining its bending power.
  • u (Distance to Phone): The distance from the smartphone screen to the lens (object distance).
  • v (Distance to Wall): The distance from the lens to the wall or screen where the image is projected (image distance).
  • M (Magnification Factor): The ratio of the projected image size to the phone's screen size, calculated as v divided by u.

To project a real image onto a wall, the object distance (u) must be strictly greater than the focal length of the convex lens (u > f). If you place the phone too close (u <= f), the lens will function as a simple magnifier instead, producing a virtual image that can only be seen by looking through the lens rather than one projected onto the wall.

As outlined by HyperPhysics Georgia State University, a single convex lens bends light rays from each point of the display, focusing them into corresponding points on the projection screen. Because the light rays cross, the projected image will always be inverted.

Standard Home Projector Setup

Focal length (f) = 10 cm, Distance to wall (v) = 60 cm. You want to find where to position the phone (u).

Using the thin lens equation rearranged for u: 1/u = 1/f - 1/v = 1/10 - 1/60 = 6/60 - 1/60 = 5/60 u = 60 / 5 = 12 cm. Next, calculate the magnification factor (M): M = v / u = 60 / 12 = 5.0.

Phone distance (u) = 12.0 cm, Magnification (M) = 5.0x.

You must place the phone screen exactly 12.0 cm behind the magnifying glass lens inside the shoebox. The resulting projection on the wall will be 5 times larger than your phone screen.

According to HyperPhysics Georgia State University, the thin lens equation defines the relationship between focal length, object distance, and image distance.

This conjugate focal relation is identical to the mathematical model used in a mirror equation calculator for concave and convex mirrors.

Key Concepts Explained

Understanding these core optical concepts helps explain why the projector behaves the way it does and how to get the best picture.

Convex Lens Convergence

A magnifying glass is a double-convex lens that bends incoming parallel light rays inward toward a common focal point. This convergence is what allows the projector to focus light on a screen.

Real vs. Virtual Images

Real images are formed when light rays physically converge at a point, meaning they can be cast onto a surface. Virtual images occur when rays only appear to diverge from a point, which cannot be projected.

Linear Magnification

The magnification ratio M = v / u dictates the size of the final projection. Placing the projector farther from the wall increases v, which increases magnification but decreases image brightness.

Image Inversion

Because light rays passing through the center of a convex lens cross over, the top of the phone screen is projected onto the bottom of the wall, and the left side onto the right side.

To compensate for physical image inversion, you must rotate the image on your smartphone screen 180 degrees (upside down) and lock the screen rotation before placing it in the projector. This ensures the projected image appears right side up on the wall.

Additionally, since a simple convex lens refracts different wavelengths of light at slightly different angles, you may notice minor colored halos near the edges of the projected image, a phenomenon known as chromatic aberration.

The lens focuses the image by bending light rays at its boundaries, a process you can calculate step-by-step using our angle of refraction calculator.

How to Use This Calculator

Follow these simple steps to calculate your dimensions and build your DIY smartphone projector successfully.

  1. 1 Select the variable to solve for: Choose whether you want to calculate the Distance to Wall (v), the Distance to Phone (u), or the Lens Focal Length (f).
  2. 2 Input the known values: Enter the two values you already know. For example, if you know your magnifying glass focal length is 12 cm and you want a wall distance of 120 cm, enter those values.
  3. 3 Provide your phone screen size: Input the screen diagonal of your smartphone (in inches) to automatically calculate the size of the projected screen.
  4. 4 Read the solved outputs: Review the computed positioning, magnification factor, and final projected image diagonal.
  5. 5 Assemble and focus the projector: Cut a hole in your shoebox, mount the magnifying glass, position the phone at distance u, and place the box at distance v from the wall.

If you have a magnifying glass with a focal length of 10 cm and your bedroom layout allows you to place the shoebox 100 cm away from a blank wall, select 'Distance to Wall (v)' and enter f = 10 and v = 100. The calculator tells you that the phone must be u = 11.1 cm from the lens. If you use a 6-inch phone, the projected diagonal will be 54.0 inches.

Benefits of Using This Calculator

Using the calculator provides several advantages when planning and executing your DIY projector project.

  • Eliminates Guesswork: Provides the exact focusing distances instantly, preventing the frustration of sliding the phone stand back and forth blindly.
  • Aids Shoebox Design: Determines how long your shoebox needs to be before you cut any cardboard or mount your components.
  • Optimizes Room Layout: Helps you decide where to position furniture and the projector screen based on the magnifying glass you own.
  • Teaches Optics Visually: Serves as an interactive educational aid that helps visualize the relationships of geometric optics formulas.

By calculating these parameters beforehand, you ensure that the physical dimensions of your box match the optical limits of your lens. This prevents situations where a box is too short to allow the phone to reach the focal point.

It also lets you quickly test different magnifying glasses to see which one will give you the largest screen size in your specific room configuration.

Factors That Affect Your Results

Several physical factors and environmental conditions affect the quality, focus, and brightness of your DIY projection.

Ambient Light Levels

Because a smartphone screen is not as bright as a commercial projector lamp, the room must be completely dark. Any ambient light will wash out the projected image.

Lens Diameter and Quality

Larger lenses collect more light from the smartphone screen, resulting in a brighter image. High-quality glass lenses reduce distortions compared to cheap plastic Fresnel sheets.

Phone Screen Brightness

Set your smartphone display to maximum brightness and turn off auto-brightness. The brighter the source, the clearer the projection will be.

  • Single lens systems suffer from spherical aberration, meaning the edges of the projection may appear slightly blurry even when the center is in sharp focus.
  • Commercial projectors use intense lamps and mirror systems; a DIY smartphone projector is limited by the maximum brightness of your mobile device's LED backlight.

To get the best possible image, choose a magnifying glass with a focal length between 10 cm and 15 cm. A focal length that is too short requires placing the phone extremely close to the lens, making focusing difficult, while a focal length that is too long requires a very long shoebox.

As explained by Physics LibreTexts, the aperture or size of the lens limits the light collection capability, meaning a wider magnifying glass will yield a noticeably brighter image on the wall.

According to Physics LibreTexts, the aperture or size of the lens limits the light collection capability, meaning a wider magnifying glass will yield a noticeably brighter image on the wall.

Additionally, the brightness and quality of light passing through the glass are affected by index parameters analyzed by our optical density calculator.

DIY smartphone projector calculator showing inputs for magnifying glass focal length, phone distance, wall distance, and projected size
DIY smartphone projector calculator showing inputs for magnifying glass focal length, phone distance, wall distance, and projected size

Frequently Asked Questions

Q: How does a DIY smartphone projector work?

A: A DIY smartphone projector works by using a convex magnifying glass lens to refract light rays radiating from a smartphone screen. If the smartphone is placed slightly further than the lens's focal point (u > f), the diverging light rays converge again on the wall to form a larger, real, inverted image.

Q: How do I find the focal length of my magnifying glass?

A: You can measure the focal length of a magnifying glass by projecting a distant light source (like the sun or a bright window) onto a sheet of paper. Move the lens until the source forms a sharp point or image, then measure the distance from the lens to the paper. This distance is the focal length (f).

Q: Why is the projected image from my DIY projector upside down?

A: The projected image is upside down because light rays cross over as they pass through the center of a convex magnifying glass lens. Light from the top of the phone screen travels downward through the lens and strikes the bottom of the wall, reversing the image's orientation vertically and horizontally.

Q: How far should my smartphone be from the magnifying glass lens?

A: Your smartphone must be placed at a distance (u) that is slightly greater than the magnifying glass's focal length (f). For example, if your lens has a focal length of 10 cm, the phone must be positioned around 11 to 15 cm from the lens, depending on how far the wall is.

Q: Can I make the projected image from my shoebox projector larger?

A: Yes, to make the projected image larger, you must move the projector further away from the wall. This increases the image distance (v), which increases magnification. However, as the image grows, the light spreads over a larger area, making the projection dimmer.

Q: How do I focus the image on my DIY smartphone projector?

A: To focus the image, you must adjust the distance between the phone screen and the magnifying glass (u). Slowly slide the phone stand closer to or further from the lens inside the shoebox until the projected image on the wall appears sharp and clear.