Face age detector

AI age estimator

See exactly what the age model thinks: the probability for every age, the likely range, the detector score and how long each step takes on your device. Nothing is uploaded.

  • Free, no sign-up
  • Photo stays on your device
  • Works with group photos

Your photo never leaves this device

The AI model runs locally in your browser. Nothing is uploaded or stored. How we protect your photos

Local AI model ยท 22.8 MB, downloaded once

Estimate age from a face

Drag a photo here, paste it, or

Processed on your device, not on a server

How the age detector works

  1. Face detection. YuNet, a 230 KB detector, finds faces and five landmarks (eyes, nose, mouth corners) on a 640 px copy of your photo.
  2. Alignment. Each face is rotated so the eyes are level and cropped to a 224 px square with the same margins as the training images.
  3. Age model. A mobilenetv4_conv_medium.e500_r224_in1k network (8.4 MB, 8-bit quantized) scores ages 0 to 100. The photo and its mirror image are both scored and averaged.
  4. Summary. The expected value of the curve is the best guess; the 20th to 80th percentile is the likely range.

Everything runs in WebAssembly in your browser tab. Once the files are cached it also works offline.

Trained on balanced, licensed data

The age network was fine-tuned on FairFace, about 87,000 training faces balanced across seven ethnic groups and released under CC BY 4.0. Many popular age datasets only allow research use or skew heavily toward white celebrities; FairFace was built to reduce that skew.

FairFace labels age in groups (0-2, 3-9, 10-19, then decades up to 70+), not exact years. The model learns a full 0 to 100 curve, but it is only ever told which group a face is in, so treat the best guess as the center of a range rather than an exact age.

How accurate is the age estimator?

Tested on the FairFace validation split: 10,954 faces the model never saw in training, run through the same detect, align and estimate steps as this page (99.7% of faces were detected).

88%

likely range overlaps the true age group

94%

right age group or the one next to it

56%

exactly the right age group

2.33

average years the best guess falls outside the true group

By age group

True ageFacesRight groupWithin one groupRange overlapsYears outside
0-219971%98%92%1.74
3-91,35479%95%94%1.65
10-191,17836%95%74%3.3
20-293,29072%97%94%1.51
30-392,31846%96%90%2.01
40-491,34839%90%82%3.22
50-5979547%88%83%3.62
60-6932139%92%82%4.34
70+11833%78%60%6.52

"Right group" is a hard target: a 29-year-old guessed as 31 counts as wrong. "Years outside" is how far the best guess lands from the nearest edge of the true group, 0 when it is inside.

Accuracy by gender and ethnicity

Same test, split by the gender and ethnicity labels in FairFace. Differences of a few points are within normal variation for groups of this size; larger gaps are real weaknesses.

GroupFacesRight groupWithin one groupRange overlapsAdult bias (years)
East Asian1,54361%95%88%-0.37
Indian1,51156%95%88%-0.03
Black1,54953%93%88%-0.19
White2,07555%95%88%+0.36
Middle Eastern1,20757%96%88%-0.05
Latino / Hispanic1,62355%95%87%-0.33
Southeast Asian1,41358%94%87%-0.92
Male5,76856%95%88%-
Female5,15357%94%87%-

Adult bias: for faces aged 20 to 59, the average best guess minus the middle of the true decade. Positive means the model guesses older for that group. Small values are expected, since true ages are spread across each decade.

Limits you should know

  • It estimates apparent age: how old a face looks, which can differ from real age by 10 years or more.
  • Adults over 70 are about 1% of the training faces and get the roughest results. Teenagers are often placed in the decade next to their own.
  • Heavy filters, makeup, low light, sunglasses, masks and side views all reduce accuracy.
  • It has no idea who anyone is. It does not recognize or compare identities.

Age estimator vs age verification

Banks, social apps and online shops use facial age estimation from identity companies to check that a user is old enough. Those systems add liveness checks against photos of photos, run on controlled selfies and are audited for error rates near legal thresholds.

This age estimator is for curiosity and fun. Its numbers are published above so you can judge it, but it is not designed, tested or allowed for verification.

AI age estimator FAQ

What is an AI age estimator?

A model that looks at a face and predicts how old it appears. This one is a compact image network that outputs a probability for every age from 0 to 100; the page shows that whole curve, the 60% likely range and the expected age.

Is this an age verification tool?

No. Identity verification companies sell facial age estimation for checking whether a user is over a legal age, with liveness checks and audited error rates. This is an entertainment tool with published but modest accuracy. Never use it to decide whether someone may buy, enter or access anything.

Which face age detector model do you use?

Face detection uses YuNet from the OpenCV model zoo (MIT license). The age network is our own: mobilenetv4_conv_medium.e500_r224_in1k pretrained on ImageNet and fine-tuned on FairFace (CC BY 4.0). Both run in ONNX Runtime Web.

Why does the estimate change when I crop or rotate the photo?

The face is re-detected and re-cropped each time, and small changes in framing, scale and image quality change the details the model sees. That variation is a good reminder that any single number is approximate.