ThisCalculator

Everyday

Selfie Portrait Mode: Your Guide to Selfie Basics

Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered

Selfie Portrait Mode: Your Guide to Selfie Basics

Portrait mode on your smartphone’s front camera is a software effect that blurs the background behind you, making your selfie look like it was taken with a professional DSLR camera. You simply open your camera app, switch to the front camera, select Portrait mode, and tap the shutter button. This guide explains how the effect works, how to get the best results, and what to do when it goes wrong.

Formula

Portrait mode does not use a single formula, but the underlying depth calculation relies on the physics of focus and blur. The amount of background blur (called bokeh) depends on the aperture, focal length, and subject distance, but on a phone the software simulates it using a depth map. The basic relationship is:

Depth of field (DoF) ≈ (2 × N × c × u²) / f²

  • N = f-number (aperture), typically f/1.8 to f/2.8 on front cameras
  • c = circle of confusion (a fixed value for the sensor, around 0.002 mm)
  • u = distance from camera to subject (your face), in meters
  • f = focal length, in millimeters (equivalent)

In practice, the phone’s software estimates depth using the dual pixels or the difference between two camera lenses, then creates a mask of your head and shoulders. The mask is what stays sharp; everything outside it gets a simulated blur.

Worked Example

Using the default values from the calculator above, imagine you run 10 km in 50 minutes. Your average pace is 50 ÷ 10 = 5.0 minutes per kilometer, and your average speed is 10 ÷ (50/60) = 12.0 km/h. That is the same math a running app uses to show your pace, but it is unrelated to portrait mode. The calculator above is for runners; the portrait mode explanation is in the text below.

How Portrait Mode Works on a Selfie Camera

Smartphone front cameras are tiny, so they cannot create a naturally shallow depth of field the way a large camera lens can. Instead, the phone uses one of two methods:

  • Dual camera: Two front cameras capture the same scene from slightly different angles. The phone compares the two images to estimate depth (like your eyes do).
  • Single camera with AI: One camera captures the image, and the phone’s processor uses machine learning to recognize a person’s outline and guess what is background.

Once the depth map is created, the phone applies a blur filter to the background, often with adjustable intensity. Some phones also add a “studio lighting” effect that changes the brightness and shadows on your face.

How to Take a Great Portrait Selfie

Getting a natural-looking portrait selfie is more about technique than gear:

  1. Hold the phone at eye level or slightly above. Shooting from below makes your chin look larger; from above makes your eyes look bigger.
  2. Face the light. Window light is flattering. Avoid direct overhead light that casts shadows under your eyes.
  3. Keep a distance of 30–60 cm (1–2 feet). Too close and the phone cannot focus; too far and the background blur looks fake.
  4. Make sure there is space between you and the background. A wall right behind your head will not blur convincingly.
  5. Tap on your face to lock focus. This ensures your eyes are sharp.

Common Problems and Fixes

Portrait mode is not perfect. Here are the most frequent issues and what to do:

  • Blurred edges around hair: The AI often mistakes flyaway hairs for background. Pull your hair back or use a plain background.
  • Background too sharp: Increase the blur intensity in the editing tool, or move farther from the background.
  • Face too dark: Turn on the screen flash (not the LED flash) or step into softer light.
  • Glasses reflections: Tilt your head slightly or adjust the angle to avoid glare.
  • Blur looks fake: Reduce the blur to 50–70% and use a subtle “portrait lighting” effect.

Portrait Mode vs. Regular Selfie Mode

Regular selfie mode keeps everything in focus, which is good for group photos or showing context. Portrait mode is better for solo shots where you want to stand out. The main difference is the depth effect: portrait mode adds a simulated bokeh, while regular mode uses the full depth of field. Some phones also allow you to adjust the blur after taking the photo, but only if you shoot in portrait mode.

Safety and Privacy Considerations

Portrait selfies often contain more personal information than you realize. The background, even when blurred, can reveal your location, home interior, or identifying details. Before posting, check the unblurred version to see what is visible. Also, be aware that portrait mode images are still just photos; they do not contain any special metadata beyond the usual EXIF data (time, location, camera settings). If you share the photo, that metadata can be stripped by most social platforms, but not always.

Alternatives to Portrait Mode

If your phone does not have portrait mode, or you want more control, you can:

  • Use a third-party camera app that offers manual focus and blur simulation.
  • Edit in post with a photo editor that has a “lens blur” tool.
  • Use a clip-on lens that physically creates a shallow depth of field.
  • Stand farther from the background and use a wide aperture on a real camera.

Frequently Asked Questions

Why does portrait mode sometimes blur my ears or nose?

The depth map is not perfect. It occasionally misidentifies the edges of your face, especially in low light or with unusual angles. Try facing the camera directly and ensuring even lighting on your face.

Can I use portrait mode for non-human subjects?

Yes, most phones allow portrait mode on pets, objects, and even plants. The AI is trained to recognize a “subject” and will blur the background around it. Results vary, but it works best with a clear subject that contrasts with the background.

Does portrait mode work in low light?

Not well. The depth estimation relies on contrast and detail, which are low in dim conditions. If you must shoot in low light, use the screen flash to add some illumination to your face.

How do I remove the blur after taking a photo?

On most phones, you can go to the photo’s edit menu and tap “Portrait” or “Depth” to change the blur level, including setting it to zero. This only works if the phone saved the depth information, which it does by default for portrait shots.

Is portrait mode the same as “bokeh mode”?

Yes, “bokeh” is the Japanese term for the aesthetic blur, and many manufacturers call it bokeh mode. It is the same feature with a different name.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.