Simplify Your Workflow: Search MiniWebtool.
Add Extension
Related Tools
Crop Factor CalculatorExposure Triangle CalculatorGolden Hour / Blue Hour CalculatorMagnetic Field of Wire CalculatorMegapixel to Print Size CalculatorPhoto File Size Estimator
Home Page > Miscellaneous > Photography Tools > Depth of Field (DoF) Calculator

Depth of Field (DoF) Calculator

Calculate depth of field (DoF), hyperfocal distance, near/far focus limits, and circle of confusion for any camera and lens combination. Features interactive visualization, real-time aperture comparison, and comprehensive photography calculations.

Depth of Field (DoF) Calculator
📷

Camera Settings

🔭

Lens Settings

mm
f/
📏

Subject Distance

Embed Depth of Field (DoF) Calculator Widget

About Depth of Field (DoF) Calculator

Welcome to the Depth of Field Calculator, a comprehensive photography tool designed to help photographers understand and control the zone of sharpness in their images. Whether you are a portrait photographer seeking beautiful bokeh, a landscape shooter maximizing sharpness, or a macro enthusiast working with razor-thin focus planes, this calculator provides the precise measurements you need.

Understanding Depth of Field

Depth of Field (DoF) refers to the distance range in a photograph where objects appear acceptably sharp. Everything within this zone appears in focus, while objects outside it gradually become blurred. Understanding DoF is essential for creative photography because it allows you to:

The Three Factors That Control DoF

1. Aperture (f-stop)

Aperture has the most dramatic effect on depth of field. The f-number represents the ratio of focal length to the diameter of the lens opening:

Note: Very narrow apertures (f/16 and smaller) can introduce diffraction, which slightly softens the image overall.

2. Focal Length

Longer focal lengths produce shallower depth of field when shooting at the same distance and aperture:

3. Subject Distance

The closer you are to your subject, the shallower the depth of field becomes:

Key Concepts Explained

Hyperfocal Distance

The hyperfocal distance is a powerful concept for landscape photography. When you focus at the hyperfocal distance:

For example, if your hyperfocal distance is 3 meters, focusing at 3m means everything from 1.5m to infinity will be acceptably sharp.

Circle of Confusion (CoC)

Circle of Confusion is the optical basis for defining "acceptable sharpness." When a point of light passes through a lens and hits the sensor slightly out of focus, it creates a small circle rather than a perfect point. The CoC value defines how large this circle can be while still appearing as a point to the viewer.

CoC depends on:

DoF Distribution (1/3 - 2/3 Rule)

At typical shooting distances, depth of field extends approximately 1/3 in front of the focus point and 2/3 behind it. However, this ratio varies:

How to Use This Calculator

  1. Select your camera sensor size: Choose from Full Frame, APS-C (Canon or Nikon/Sony), Micro Four Thirds, Medium Format, or enter custom dimensions. Sensor size affects the Circle of Confusion calculation.
  2. Enter your focal length: Use presets for common focal lengths or enter a custom value. The calculator will show the 35mm equivalent for your sensor.
  3. Set your aperture: Select from standard f-stops or enter a custom value. This is the primary creative control for DoF.
  4. Enter subject distance: How far is your subject from the camera? Choose your preferred unit (meters, feet, etc.).
  5. Review the results: The calculator displays total DoF, near/far limits, hyperfocal distance, and provides an aperture comparison chart.

Practical Applications

Portrait Photography

For flattering portraits with smooth background blur:

Landscape Photography

For maximum front-to-back sharpness:

Macro Photography

When working with extreme close-ups:

Street Photography

For quick, spontaneous shots:

Sensor Size and Equivalent DoF

Different sensor sizes produce different depth of field characteristics when achieving the same framing. To get equivalent DoF on different sensors, you need to adjust the aperture by the crop factor.

For example, to match the DoF of a Full Frame camera at f/2.8:

This is why smartphone cameras, with their tiny sensors, struggle to produce shallow DoF despite having "f/1.8" lenses.

Frequently Asked Questions

What is Depth of Field (DoF) in photography?

Depth of Field (DoF) is the distance between the nearest and farthest objects in a photo that appear acceptably sharp. A shallow DoF creates a blurred background (bokeh) that isolates the subject, while a deep DoF keeps more of the scene in focus. DoF is controlled by three main factors: aperture (f-stop), focal length, and subject distance.

How does aperture affect depth of field?

Aperture has a direct relationship with depth of field. A wider aperture (lower f-number like f/1.4 or f/2.8) creates a shallower DoF with more background blur. A narrower aperture (higher f-number like f/11 or f/16) creates a deeper DoF with more of the scene in focus. This is why portrait photographers often use wide apertures for subject isolation, while landscape photographers use narrow apertures for front-to-back sharpness.

What is hyperfocal distance and why is it important?

Hyperfocal distance is the closest focusing distance at which everything from half that distance to infinity appears acceptably sharp. When you focus at the hyperfocal distance, you maximize the depth of field for a given aperture and focal length. This technique is especially valuable for landscape photography where you want both foreground and distant elements to be sharp.

What is Circle of Confusion (CoC)?

Circle of Confusion (CoC) is the optical spot caused by a cone of light rays from a point source not coming to a perfect focus. It determines what appears "acceptably sharp" in an image. CoC depends on sensor size, viewing distance, and print size. Smaller sensors require smaller CoC values for equivalent sharpness, which is why this calculator adjusts CoC based on your selected sensor size.

How does sensor size affect depth of field?

Larger sensors generally produce shallower depth of field at the same framing. This happens because: 1) Larger sensors require longer focal lengths to achieve the same field of view, and longer focal lengths reduce DoF. 2) The Circle of Confusion is larger for larger sensors. A full-frame camera will have shallower DoF than an APS-C or Micro Four Thirds camera when shooting the same scene at the same framing.

Why is depth of field not evenly distributed?

Depth of field extends approximately 1/3 in front of and 2/3 behind the focus point at typical shooting distances. However, this ratio changes with distance: at close-up distances, DoF is nearly equal in front and behind; at far distances (approaching hyperfocal), more DoF extends behind the subject. Understanding this distribution helps photographers place their focus point optimally.

Additional Resources

Reference this content, page, or tool as:

"Depth of Field (DoF) Calculator" at https://MiniWebtool.com/depth-of-field-dof-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 31, 2026

Photography Tools:

Top & Updated:

Instagram User ID LookupRandom PickerRandom Name PickerImage ResizerFacebook User ID LookupLine CounterSun, Moon & Rising Sign Calculator 🌞🌙✨Relative Standard Deviation CalculatorSort NumbersRemove SpacesFPS ConverterJob FinderWord to Phone Number ConverterMAC Address GeneratorERA Calculator📷 OCR / Image to Text⬛ Aspect Ratio CalculatorRandom Quote GeneratorMAC Address LookupSlope and Grade CalculatorSum CalculatorBatting Average CalculatorPercent Off CalculatorMercury Retrograde CalendarFeet and Inches to Cm ConverterSHA256 Hash GeneratorMerge VideosSquare Root (√) CalculatorRandom Credit Card Generator🖱️ Click CounterRandom Truth or Dare GeneratorRandom IMEI GeneratorVertical Jump CalculatorAudio SplitterPhone Number ExtractorInvisible Text GeneratorWeight Loss CalculatorNumber of Digits CalculatorImage SplitterCaffeine Overdose CalculatorMP3 LooperRandom Superpower GeneratorMaster Number CalculatorSalary Conversion CalculatorSun Position CalculatorLog Base 10 CalculatorRandom Writing Prompt GeneratorRandom Fake Address GeneratorBitwise CalculatorNumber to Word ConverterText FormatterCm to Feet and Inches ConverterRandom Poker Hand GeneratorRandom Activity GeneratorOPS CalculatorRandom Movie PickerWord Ladder GeneratorRoman Numerals ConverterSaturn Return CalculatorFile Size ConverterAdd Text to ImageEmail ExtractorSlugging Percentage CalculatorLong Division CalculatorStair CalculatorCompound Growth CalculatorQuotient and Remainder CalculatorBattery Life CalculatorYouTube Channel StatisticsIP Subnet CalculatorSHA512 Hash GeneratorVideo CompressorLunar Calendar ConverterRandom Time GeneratorHalfway Date CalculatorOn Base Percentage CalculatorName RandomizerRandom Birthday GeneratorOctal Calculator📅 Date CalculatorRandom Meal GeneratorBolt Torque CalculatorSigma Notation Calculator (Summation)Binary to Gray Code ConverterBingo Card GeneratorHebrew Calendar ConverterBcrypt Hash Generator / CheckerFirst n Digits of PiRandom Loadout GeneratorCompare Two StringsDecimal to BCD ConverterArc Length CalculatorVideo to Image ExtractorPercent Growth Rate CalculatorRandom User-Agent GeneratorAPI TesterOutlier CalculatorBCD to Decimal ConverterBreak Line by CharactersDice RollerMD5 Hash GeneratorWord Scramble GeneratorLeap Years ListGray Code to Binary ConverterMartingale Strategy CalculatorIP Address to Hex ConverterWHIP CalculatoreBay Fee CalculatorYouTube Tag ExtractorFlip VideoRandom Emoji GeneratorAcreage CalculatorList of Prime NumbersCone Flat Pattern (Template) GeneratorText Case Converter🔍 Plagiarism CheckerAI Text HumanizerImage CompressorDMS to Decimal Degrees ConverterTime Duration CalculatorName Number CalculatorWAR CalculatorNumber ExtractorRemove AccentAmortization CalculatorBinary to BCD ConverterDay of the Year Calculator - What Day of the Year Is It Today?🎰 Gacha Pity CalculatorCM to Inches ConverterProportion CalculatorWhat is my Zodiac Sign?Connect the Dots GeneratorVideo SplitterAI Punctuation AdderShort Selling Profit CalculatorYouTube Thumbnail DownloaderRandom Chess Opening GeneratorRandomize NumbersAdjust Video SpeedLove Compatibility CalculatorBroken Link CheckerRandom Group GeneratorSocial Media Username CheckerDecibel (dB) CalculatorJulian Date ConverterTrigonometric Equation SolverRandom Tournament Bracket GeneratorAI Language DetectorWhat is my Lucky Number?Astrological Element Balance CalculatorLED Resistor CalculatorSort Text By Length🔊 Tone GeneratorAdd Prefix and Suffix to Text1099 Tax CalculatorColor InverterImage CropperList RandomizerRandom Number PickerModulo CalculatorConvolution CalculatorRandom Object Generator⚔️ DPS CalculatorBoxing Punch Power CalculatorLottery Number GeneratorCrossword Puzzle MakerPercentage Increase CalculatorRemove Leading Trailing SpacesDay of Year CalendarReverse VideoRandom Math Problem GeneratorSourdough CalculatorPVIFA CalculatorRandom Video Thumbnail GeneratorPER CalculatorTessellation GeneratorRandom Sound Frequency GeneratorRemove Audio from VideoURL ExtractorFirst n Digits of eHTML CompressorRandom Chord GeneratorRatio CalculatorAngel Number CalculatorBlood Donation Time CalculatorParabola CalculatorAI ParaphraserFraction CalculatorHelium Balloon Lift CalculatorPVIF CalculatorSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Megapixel to Print Size CalculatorMultiple Fraction CalculatorPercent to PPM ConverterProduct Notation Calculator (Pi Notation)💧 Dew Point CalculatorMolarity CalculatorPercentile CalculatorSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorAverage CalculatorHypotenuse CalculatorActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterMAC Address AnalyzerRandom String GeneratorMarkup CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorBernoulli Equation CalculatorAP Score CalculatorAttendance Percentage CalculatorPercentage to CGPA ConverterCitation Generator (APA/MLA/Chicago)AI Quiz GeneratorAI Lesson Plan GeneratorInteractive Periodic TableElectron Configuration CalculatorLimiting Reactant CalculatorTheoretical Yield CalculatorHenderson-Hasselbalch CalculatorpKa to Ka ConverterMolality CalculatorNormality CalculatorPercent Composition CalculatorFreezing Point Depression CalculatorBoiling Point Elevation CalculatorOsmotic Pressure CalculatorNernst Equation CalculatorBeer-Lambert Law CalculatorGravitational Force CalculatorEscape Velocity CalculatorKepler's Third Law CalculatorTime Dilation CalculatorE=mc² CalculatorPhoton Energy Calculatorde Broglie Wavelength CalculatorTerminal Velocity CalculatorBuoyancy CalculatorWave Speed CalculatorSpeed of Sound CalculatorMechanical Advantage CalculatorInclined Plane CalculatorFriction CalculatorResistors in Series CalculatorWatts to Amps CalculatorAmps to Watts CalculatorkVA Calculator3-Phase Power CalculatormAh to Wh ConverterGenerator Size CalculatorLumens to Watts ConverterLux to Lumens CalculatorRoom Lighting CalculatorInductive Reactance CalculatorSeries/Parallel Capacitor CalculatorConduit Fill CalculatorAntenna Length CalculatorCubic Yard CalculatorAsphalt CalculatorSod CalculatorGrass Seed CalculatorDeck Stain CalculatorSiding CalculatorBaseboard & Trim CalculatorBaluster Spacing CalculatorEpoxy Resin CalculatorWater Heater Size CalculatorPool Volume CalculatorPool Salt CalculatorPond Volume & Liner CalculatorTV Size CalculatorTV Mounting Height CalculatorPicture Hanging Height CalculatorRug Size CalculatorCurtain Size CalculatorCeiling Fan Size CalculatorDehumidifier Size CalculatorAir Purifier CADR CalculatorFirewood Cord CalculatorCouch Fit CalculatorEngine Displacement Calculator2-Stroke Oil Mix CalculatorOctane Mix CalculatorLease Buyout CalculatorCost Per Mile CalculatorTire Load Index & Speed Rating LookupWheel Offset CalculatorWilks & DOTS CalculatorACFT Score CalculatorRowing Pace CalculatorHiking Time CalculatorBeep Test CalculatorFTP & Power Zones CalculatorRunning Age-Grading Calculator