Depth of Field (DOF)
What is Depth of Field (DOF)?
Depth of field is how much of a scene appears sharp in a photo or video. A shallow depth of field keeps only the subject sharp with a blurry background; a deep depth of field keeps everything sharp.
At a glance
- Also known as
- DOFFocus rangeDepth of focus
- Used for
- Isolating subjects from backgrounds in portrait and narrative photographyCreating cinematic subject separation in videoMaintaining full scene sharpness in documentary and landscape contextsDirecting viewer attention through selective focus
- Common tools
- Variable aperture lensTelephoto lens for shallow DOFWide-angle lens for deep DOFAI prompt depth-of-field specification
- Related terms
- Deep focusShallow focusBokehApertureRack focus
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
How it compares
Depth of field describes the range of object distances in front of the lens that appear sharp in the captured image, and is the concept most relevant to creative composition. Depth of focus is a related but technical concept that describes the range of image plane positions behind the lens where the image remains acceptably sharp. Depth of field is the concept creators and photographers work with; depth of focus is a lens engineering and calibration concern.
Think of it like…
Imagine you are pointing a magnifying glass at a ladybird on a leaf. The ladybird is perfectly sharp and clear, but the leaf behind it is blurry, and the grass behind that is even blurrier. Now imagine putting down the magnifying glass and just looking at the garden with your eyes. Suddenly everything looks clear, from the flower right in front of you all the way to the fence at the end of the garden. The magnifying glass gave you very shallow depth of field, just like a camera with a wide-open aperture. Your normal eyes in the garden gave you deep depth of field, like a camera set to a small aperture. The depth of field is how much of the world in front of the camera, near or far, gets to be sharp at the same time. Viewers have been trained by decades of photography and film to associate shallow depth of field with closeness, intimacy, and importance, while deep depth of field feels more neutral and observational.
Pro tip
When directing depth of field in AI generation prompts, be specific about both the focal element and the background treatment together. A prompt that specifies sharp focus on the subject's eyes with a softly blurred background at f/2.8 bokeh gives the model more precise information than shallow depth of field alone. Adding qualitative descriptions of the blur quality, whether creamy, smooth, or featuring distinct circular bokeh shapes, further refines the output toward the exact look you are aiming for.
Types and variations
- Shallow depth of field uses wide apertures and telephoto lenses to keep only a narrow zone in focus, creating subject isolation and soft background blur.
- Deep depth of field uses narrow apertures and wide-angle lenses to keep an extended range of distances in focus, from near foreground to distant background.
- Selective focus deliberately places the point of sharpest focus on a non-dominant element to create unexpected visual hierarchy.
- Rack focus smoothly shifts the plane of sharpest focus from one distance to another during a shot, transitioning the viewer's attention from one subject to another.
Ready to make your first scene in Morphic?
Try MorphicCommon use cases
- Portrait photography and narrative close-ups where shallow DOF isolates the subject's face from a distracting background.
- Commercial product photography where the product is rendered crisply sharp against a softly blurred environment.
- Narrative filmmaking where the cinematographer uses DOF to direct the audience's attention to specific characters or objects within a scene.
- Documentary and journalistic work where deep DOF preserves the full context of a scene.
- AI generation workflows where DOF specification helps ensure outputs have the intended level of subject isolation and background treatment.
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.