Hyperfocal Distance Calculator
Calculate Hyperfocal Distance by entering distance and time. Get pace per mile or kilometre, projected finish times, and split breakdowns.
Calculator
Adjust values & calculateDOF at 5m Subject Distance
Formula
Hyperfocal distance (H) equals the focal length squared divided by the product of the f-number and circle of confusion, plus the focal length. When focused at H, everything from H/2 to infinity is acceptably sharp.
Last reviewed: December 2025
Worked Examples
Example 1: Landscape with 24mm Wide-Angle Lens
Example 2: Street Photography with 50mm Lens
Background & Theory
The Hyperfocal Distance Calculator applies the following established principles and formulas. Transportation calculations center on the fundamental relationship between distance, speed, and time expressed as d = s ร t. This triangle of variables allows any one quantity to be derived when the other two are known, supporting applications ranging from estimating arrival times to calculating required average speed for a journey. Real-world calculations must account for stops, speed variations, traffic delays, and speed limits, making simple division an approximation that practical tools refine with additional parameters. Fuel consumption is expressed differently in different regions. North American convention uses miles per gallon (MPG), a larger number indicating better efficiency. Most other countries use liters per 100 kilometers (L/100km), where a smaller number indicates better efficiency. The conversion between them is not a simple linear scaling but an inversion relationship: MPG = 235.21 / (L/100km). For aviation and long-distance navigation, straight-line map distances underestimate the actual path because the Earth is a sphere. The Haversine formula calculates great-circle distance โ the shortest path across the Earth's surface between two points defined by latitude and longitude โ accounting for spherical geometry. Flight times further depend on prevailing winds, particularly the jet stream, which can reduce eastward transatlantic crossing times by an hour or more compared to westbound flights. Carbon emissions vary substantially by transport mode. IPCC and comparable figures express emissions in grams of CO2 equivalent per passenger-kilometer. Short-haul flights produce roughly 255 g/pkm, private car travel averages around 170 g/pkm, long-distance rail averages about 41 g/pkm, and bus travel approximately 89 g/pkm. Electric vehicles shift emissions upstream to electricity generation, so their net footprint depends on the carbon intensity of the local grid. Electric vehicle range calculations depend on battery capacity in kilowatt-hours, consumption expressed as kWh/100km, and factors including temperature, speed, and auxiliary loads. Vehicle depreciation calculations use either straight-line methods, which allocate equal cost per year, or declining-balance methods, which front-load depreciation to reflect the faster early loss of market value typical of most vehicles.
History
The history behind the Hyperfocal Distance Calculator traces back through the following developments. The history of transportation is inseparable from the history of human civilization. The invention of the wheel around 3500 BCE in Mesopotamia transformed overland transport, enabling carts and chariots that multiplied the load a person or animal could move. Roman engineers built over 80,000 kilometers of paved road radiating from Rome, integrating an empire that stretched from Scotland to Mesopotamia. These roads used standardized construction methods and milestones, creating the first large-scale infrastructure for consistent travel time estimation. For millennia, transportation speed was bounded by the pace of animals and the wind. The steam locomotive shattered this ceiling. Richard Trevithick's first steam-powered rail vehicle ran in 1804, and by the 1830s commercial railways were operating in Britain. The transcontinental railroad completed across the United States in 1869 reduced the coast-to-coast journey from months by wagon to under two weeks, transforming the economic geography of a continent. Karl Benz received a patent for the Benz Patent-Motorwagen in 1886, widely recognized as the first true gasoline-powered automobile. Within two decades the internal combustion engine had begun displacing the horse in cities. The United States Interstate Highway System, authorized by the Federal Aid Highway Act of 1956 and inspired partly by the German Autobahn, constructed 77,000 kilometers of controlled-access highway and reshaped American land use, commuting patterns, and the trucking industry. Orville and Wilbur Wright achieved powered heavier-than-air flight at Kitty Hawk in December 1903, a twelve-second flight of 37 meters. Within fifty years commercial jet aviation had made intercontinental travel routine. The Boeing 707 entered service in 1958, and by the 21st century over four billion passengers per year were traveling by air. The NAVSTAR GPS constellation, fully operational by 1995 and opened to civilian use, transformed navigation from a specialized skill to a universal utility. Smartphone-based navigation apps emerged after 2007, integrating real-time traffic data to optimize routes dynamically. The 21st century has seen the rise of electric vehicles and the early development of autonomous driving systems, promising further transformation in how transportation time and cost calculations are made.
Frequently Asked Questions
Formula
H = (fยฒ / (N ร c)) + f
Hyperfocal distance (H) equals the focal length squared divided by the product of the f-number and circle of confusion, plus the focal length. When focused at H, everything from H/2 to infinity is acceptably sharp.
Worked Examples
Example 1: Landscape with 24mm Wide-Angle Lens
Problem: Find the hyperfocal distance for a 24mm lens at f/11 on a full-frame camera (CoC = 0.03mm).
Solution: H = (fยฒ / (N ร c)) + f\nH = (24ยฒ / (11 ร 0.03)) + 24\nH = (576 / 0.33) + 24\nH = 1745.45 + 24 = 1769.45mm\nH = 1.77 meters (5.8 feet)\nNear sharp limit = H/2 = 0.88 meters
Result: Hyperfocal = 1.77m | Everything from 0.88m to infinity is sharp
Example 2: Street Photography with 50mm Lens
Problem: Calculate hyperfocal distance for a 50mm lens at f/8 on a full-frame camera (CoC = 0.03mm), with subject at 5m.
Solution: H = (50ยฒ / (8 ร 0.03)) + 50\nH = (2500 / 0.24) + 50\nH = 10416.67 + 50 = 10466.67mm\nH = 10.47 meters (34.3 feet)\nNear limit at 5m = (5000 ร (10467 - 50)) / (10467 + 5000 - 100) = 3.40m\nFar limit = (5000 ร (10467 - 50)) / (10467 - 5000) = 9.53m
Result: Hyperfocal = 10.47m | At 5m: DOF from 3.40m to 9.53m (6.13m range)
Frequently Asked Questions
What is hyperfocal distance in photography?
Hyperfocal distance is the closest focusing distance at which a lens can be focused while keeping objects at infinity acceptably sharp. When you focus your lens at the hyperfocal distance, everything from half the hyperfocal distance to infinity will be within acceptable sharpness. This concept is crucial for landscape photography where you want maximum depth of field. The hyperfocal distance depends on three factors: focal length, aperture (f-stop), and the circle of confusion value for your camera sensor. Shorter focal lengths and smaller apertures (higher f-numbers) produce shorter hyperfocal distances, giving you greater depth of field coverage.
How does aperture affect hyperfocal distance?
Aperture has a direct and significant impact on hyperfocal distance. A smaller aperture (larger f-number like f/16 or f/22) reduces the hyperfocal distance, meaning you can achieve sharp focus from a closer point all the way to infinity. Conversely, a wider aperture (smaller f-number like f/2.8 or f/4) increases the hyperfocal distance dramatically. For example, a 50mm lens at f/8 might have a hyperfocal distance of about 10 meters, while the same lens at f/16 would have a hyperfocal distance of roughly 5 meters. However, be cautious with very small apertures like f/22 because diffraction can reduce overall sharpness even though the depth of field is maximized.
Does focal length affect depth of field and hyperfocal distance?
Yes, focal length is one of the primary factors affecting both depth of field and hyperfocal distance. Longer focal lengths produce greater hyperfocal distances and shallower depth of field at any given aperture and distance. A 24mm wide-angle lens at f/8 might have a hyperfocal distance of only 2.4 meters, while a 100mm telephoto at the same aperture would have a hyperfocal distance of about 42 meters. This is why wide-angle lenses are favored for landscape photography where maximum depth of field is desired. The relationship is quadratic: doubling the focal length roughly quadruples the hyperfocal distance, making telephoto lenses much harder to use for front-to-back sharpness.
What inputs do I need to use Hyperfocal Distance Calculator accurately?
Each field is labelled with the required unit (metric or imperial). Gather your source values before starting โ for example, a weight measurement in kilograms, a distance in metres, or a dollar amount โ and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.
How accurate are the results from Hyperfocal Distance Calculator?
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Is my data stored or sent to a server?
No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy