A pinhole camera is a light-tight box with a tiny hole instead of a lens

A pinhole camera works by letting light pass through a single small opening—usually a hole the width of a needle—and projecting an image onto a surface inside the box. No glass lens, no mirrors, no electronics. Light from your subject travels in straight lines through the hole and lands on film or paper on the opposite wall, creating an upside-down image. The smaller and rounder the hole, the sharper the image; the larger the hole, the brighter but blurrier the result.

This is not a modern invention. The principle—called camera obscura—was described by Arab scholars in the 10th century and used by Renaissance artists as a drawing aid. Photography just gave it film to capture what the human eye was already seeing through the hole.

Key Takeaways

  • Light travels in straight lines through the pinhole and flips the image upside down on the film or paper inside the box.
  • The size of the hole controls both sharpness and brightness: smaller holes are sharper but need longer exposures, larger holes are brighter but softer.
  • Exposure times range from seconds to hours depending on light conditions, the hole size, and the film speed you use.
  • You can build a working pinhole camera from a cardboard box, a piece of aluminum foil, and photographic paper or film.

Why light travels straight through the hole and creates an image

Light bounces off every object around you in all directions. When that light hits your pinhole, only the rays traveling in a straight line through the opening make it to the film inside. A ray bouncing off the top of your subject passes through the hole and lands on the bottom of the film. A ray from the bottom lands on top. This is why the image appears upside down and reversed left to right.

If the hole were large, rays from the same point on your subject would pass through at different angles and land in different spots on the film, creating a blurry overlap. A tiny hole forces all the rays from one point to travel nearly parallel, so they land in almost the same spot. The result is a sharp image—as long as you give the film enough time to collect enough light.

How hole size affects sharpness and exposure time

The diameter of your pinhole is the single most important variable in pinhole photography. A hole around 0.3 to 0.5 millimeters wide (roughly the thickness of a sewing needle) is a good starting point for most cameras. Smaller holes—0.2 millimeters or less—produce sharper images but require much longer exposures because less light reaches the film. Larger holes—1 millimeter or wider—let in more light and need shorter exposures, but the image softens because more rays from each point on your subject can pass through.

The relationship between hole size and exposure time is not linear. A hole half the diameter needs roughly four times as long to expose properly. In bright sunlight with fast film, a 0.4-millimeter hole might need 10 to 30 seconds. In shade or with slower film, the same hole could need several minutes. Overcast days and indoor setups can push exposures to 30 minutes or longer.

Building a basic pinhole camera from household materials

You can make a working pinhole camera from a cardboard box, a piece of aluminum foil, a needle, and either photographic paper or film. Cut a small square—about 1 inch by 1 inch—in one side of the box. Tape a piece of aluminum foil over the hole on the outside. Use a needle to poke a clean, round hole through the foil. The hole should be as small and round as possible; rough or jagged edges scatter light and soften the image.

Inside the box, tape photographic paper or film to the wall opposite the pinhole, emulsion side facing the hole. In a darkroom or under safelight conditions, seal all gaps with black tape so no stray light leaks in. Point the camera at your subject, remove a cover from the pinhole (a piece of tape works), wait for your calculated exposure time, then cover the hole again. Develop the paper or film using standard photographic chemistry.

The distance from the pinhole to the film determines the field of view and image size. A 4-inch distance gives a wide view; a 12-inch distance narrows it and magnifies the subject. Longer distances require longer exposures because the light spreads over a larger area.

Why pinhole images look different from lens photographs

Pinhole images have a distinctive look: everything from near to far is in focus at once. A traditional camera lens can focus sharply on one distance and blur the background. A pinhole has infinite depth of field—the entire scene, from a few inches away to the horizon, stays sharp. This is because the tiny hole only lets through rays that are already nearly parallel, so they converge to a sharp point regardless of distance.

Pinhole photographs also show no lens distortion. Wide-angle lenses bend straight lines into curves at the edges; pinholes do not. The image is geometrically true to what the eye would see, just upside down and often softer overall because the hole is so small that diffraction—the bending of light around the edge of the opening—becomes visible as a slight haze.

Calculating exposure time for your pinhole setup

Exposure time depends on four things: the size of your hole, the speed of your film or paper, the brightness of your subject, and the distance from the pinhole to the film. Start with a test. In bright sunlight with ISO 100 film and a 0.4-millimeter hole, try 15 seconds. In shade, try 60 seconds. Indoors, try 5 to 10 minutes. Develop the test and look at the result. If it is too dark, double the time. If it is too bright, halve it.

Some photographers use a light meter to measure the brightness of the scene, then explore a formula to calculate exposure. Others keep a notebook of exposures that worked for different conditions and hole sizes. The pinhole method is forgiving—film can handle overexposure better than underexposure, so when in doubt, give it more time rather than less.

When to call a professional or seek guidance

Pinhole photography is a hands-on learning process, and mistakes are part of it. If you want to develop film or paper yourself, you will need access to a darkroom or a changing bag (a light-tight bag you can work inside). Many community colleges, art centers, and photography studios rent darkroom time by the hour. If you do not have access to darkroom facilities, you can shoot pinhole photographs on paper and have them scanned at a photo lab, though this limits your control over the final image.

If you want to build a more permanent pinhole camera—one with precise hole placement and a sturdy body—a photography instructor or experienced pinhole photographer can show you techniques for drilling clean holes and calculating the ideal pinhole diameter for your specific box size.

Frequently Asked Questions

Can I use regular camera film in a pinhole camera?

Yes. Any film speed works, but slower film (ISO 50 or 100) produces finer grain and sharper images, while faster film (ISO 400 or higher) needs shorter exposures. Black-and-white film is easier to develop at home than color film. Photographic paper also works and is simpler to process if you have access to basic chemistry.

Why is my pinhole image blurry even though I made the hole very small?

A hole that is too small creates diffraction blur—light bends around the edge of the opening and scatters slightly. The ideal hole size for your camera depends on the distance from the pinhole to the film. For a 4-inch distance, aim for 0.3 to 0.4 millimeters. For a 12-inch distance, try 0.5 to 0.7 millimeters. Also check that the hole is round and smooth; a jagged edge scatters light.

How long does a pinhole exposure usually take?

In bright sunlight with a 0.4-millimeter hole and ISO 100 film, expect 10 to 30 seconds. In shade or indoors, exposures can range from 2 to 20 minutes. Overcast days and slow film push times even longer. Keep notes of what worked so you can predict exposure times for similar conditions.

Do I need a darkroom to make pinhole photographs?

You need a dark space to load and unload film or paper, but not necessarily a permanent darkroom. A changing bag—a portable light-tight bag—costs under $30 and lets you load film anywhere. You can develop prints in a regular bathroom with the lights off if you have the right chemistry and safelight.

What is the sharpest pinhole size?

The sharpest hole size depends on the distance from the pinhole to the film. The formula is roughly the square root of (wavelength × distance). For visible light and a typical 6-inch camera, this works out to around 0.3 to 0.5 millimeters. Holes smaller than 0.2 millimeters start to lose sharpness due to diffraction, while holes larger than 1 millimeter lose sharpness because too many light rays pass through.