# What is the formula to calculate aperture (“diaphragme” in French)?

Let's say I have these data for my camera:

• t : Exposure time in seconds ("temps de pose" in French)
• C : Incident-light meter calibration constant ("constante lumière incidente" in French)
• S : ISO arithmetic film speed
• NDF : Neutral density filter in EV (f-stop) ("filtre à densité neutre" in French)
• EC : Exposure correction in EV (f-stop) ("correction d'exposition" in French)

And this for the environment :

• E : Illuminance of the scene in lux

What would be the formula to calculate N the relative aperture (f-number)?

The question is especially about the filter and correction since without them, `N² = E*S*t/C`

The equation is:

``````  f-number²           illuminance × ISO value
─────────────   =     ───────────────────────
exposure time           incident-light meter
in seconds             calibration constant
``````

Or `N² = E*S*t/C`, as you've summarized it with N as aperture on the left. Note that the calibration constant ("C") corresponds to your meter, not to the camera, and usually depends on the shape of the light-receiving surface (flat or dome).

Figure out the aperture and exposure time you need from this, and then adjust these for your neutral density filter and desired exposure compensation. Each 1-unit change in EV is one stop, and you can adjust either exposure time or aperture (or for that matter, ISO) correspondingly.

Or to put it simply: Add together the neutral-density filter EV value (as a positive number of stops) and your desired exposure correction EV value. If the result is positive, widen the aperture by one stop for each correction EV. If the result is negative, narrow the aperture by that amount.

If you want to put this in formula form, that'd be:

``````N = √(E×S×t/C) / √(2^(EV compensation + ND filter stops))
``````

There are other ways to arrange the EV compensation and ND filter values, of course, but this representation matches the way a photographer thinks about it — setting the basic exposure parameters and then factoring in the compensation. (You could shift the equation around so the EV compensation and ND filter stops values are in the first √, and probably do want to do that as an optimization.)

It is often the case that the range of adjustable apertures does not give the flexibility one would need for this in the real world. Your lens probably does not go to f/64 or f/1.0. In this case, you'll need to adjust one of the other parameters, of course.

It may help to consider this visualization: The adjustable exposure parameters on camera are the axes — aperture (f-number), shutter speed, and ISO. The target exposure is the volume of the cube.

Numerically in the basic formula, this volume is determined by the illuminance and calibration constant values. (The "calibration constant" is a value selected to give a nominally-correct overall exposure for a given scene illuminance.)

Exposure compensation is basically you as a human overriding that measurement and increasing or decreasing the target volume. Likewise, adding a ND filter halves the volume (for every stop).

• @Tristan What is missing? What isn't clear to you still? – Please Read My Profile Mar 19 '19 at 14:19
• Everything is very clear thanks. What is missing is the answer to my question, the actual completed formula, not practical tips to get the settings right. – Tristan Mar 20 '19 at 15:03
• @Tristan That is expressed in the bold text. I've now added that below as a formula. – Please Read My Profile Mar 20 '19 at 15:10
• That said, this site is for increasing knowledge and understanding. It is not a "give me a formula" service. – Please Read My Profile Mar 20 '19 at 15:11
• I thought it was about answering questions : "Read the question carefully. What, specifically, is the question asking for? Make sure your answer provides that – or a viable alternative. The answer can be “don’t do that”". I think your formula is wrong, sorry, I'll answer my own question later. – Tristan Mar 21 '19 at 9:30

As you know, all optical filters absorb some light hence require an increased exposure to compensate. The magnitude of this increase is universally called the “filter factor”. This value is likely published by the filter manufacturer or you can derive it by making as simple bracketing test.

Once the filter factor is known, we can use it as a multiplier. Suppose a shot of a vista works out to f/16 @ 1/250 of a second. Now you mount a neutral density filter with a filter factor of 8. What is the revised exposure? We calculate by applying the filter factor to the shutter speed thus: 1/125 X 8 = 1/125 X 8/1 = 8/125 = 1/15. If this seems difficult, likely you are a bit rusty when it comes to manipulating fractions.

Table of Filter factors:

1 stop absorption = filter factor 2

2 stop absorption = filter factor 4

3 stop absorption = filter factor 8

4 stop absorption = filter factor 16

5 stop absorption = filter factor 32

They key is: The f-stop is a 2x increment, a doubling of halving of the amount of exposing energy. The basic equation for exposure is E=IT where E=exposure, I = the exposing radiation, and T=the duration of the exposure.

Sorry -- French is Greek to me!

Stated a little differently:

A filter factor is a modifier. Once the filter factor is known, to compute a revised shutter speed, multiply the time of exposure by the filter factor. One can modify the ISO by dividing it by the filter factor. One can modify the f-number by dividing it by the square root of the filter factor. Filters absorb a quota of the exposing light. It is customary to express the needed correction in terms of f-stops. By custom, the f-stop is defined as a 2X change in exposing energy. Thus a filter that attenuates by 50% requires + 1 f-stop compensation. Another way to express this attenuation is via a “filter factor = 2 elevated to x power. The x power is the number of f-stops attenuated. Photo scientist express filter attenuation based on its “opacity” = insistent light divided by amount of light that traversed. Optical density is the logarithm base 10 of the opacity.
1/6 f-stop = 2^0.16 = 1.1 filter factor = optical density 0.05

1/3 f-stop = 2^0.33 = 1.3 filter factor = optical density 0.10

1/2 f-stop = 2^0.5= 1.4 filter factor = optical density 0.15

2/3 f-stop = 2^0.66 = 1.6 filter factor = optical density 0.20

1 f-stop = 2^1 = 2 filter factor = optical density 0.30

2 f-stops = 2^2 = 4 filter factor = optical density 0.60

3 f-stop = 2^3 = 8 filter factor = optical density 0.90

4 f-stops = 2^4 = 16 filter factor = optical density 0.90

5 f-stop = 2^5 = 32 filter factor = optical density 1.20

6 f-stops = 2^6 = 64 filter factor = optical density 1.50

• Ok, so knowing all this how do you complete the formula to integrate filters ? – Tristan Mar 17 '19 at 18:08
• @ Tristan -- It's simply the time of the exposure multiplied by the filter factor. To compute the filter factor of a neutral density filter with a an optical density of 0.60 -- we use this value as the exponent of a base 10 log thus 10^0.60. In other words -- 10 elevated to the 0.6 power = 4. Thus 4 is the filter factor. We then multiply the shutter speed by 4 to compute a compensating shutter speed. Stated differently -- an ND with an optical density of 0.6 = filter factor 4 which is a two stop delta. – Alan Marcus Mar 17 '19 at 21:03
• I think -- Knowing the filter factor is the key. We use the filter factor to modify the exposure when a filter is mounted. Methods of compensation. 1. Multiply shutter time by filter factor. 2. Divide ISO by the filter factor. 3. Divide aperture by the square root of the filter factor. – Alan Marcus Mar 17 '19 at 23:17
• I'm pretty sure you have the answer to my question, but I don't get it yet. Could you complete this please to add the filters : N² = E * S * t/C ? Would it be N = √(E * S * t/C) * 2^filter ? or N = √(E * S * t/C * 2^filter) ? or something else (filter being in f-stop unit). – Tristan Mar 21 '19 at 9:41