An inverse square law calculator links the intensity of light, sound, radiation or any other spreading quantity to the distance from its source. Enter any three of the two intensities and the two distances, and it finds the fourth. It also shows the change of level in decibels.
How to use the inverse square law calculator
- Choose what to find.
- Enter the other three values, in one unit for the intensities and one for the distances.
- Press Calculate.
What the inverse square law says
An inverse-square law is a law in which the intensity of a quantity is inversely proportional to the square of the distance from its source [1]. If you double the distance, the intensity falls to a quarter. If you triple it, the intensity falls to a ninth. The law describes energy or particles that spread evenly in all directions from a small source, such as a star, a light bulb or a speaker, and it is the reason a distant source looks weak compared with a near one.
The formula
The calculator uses the relation I₁ ÷ I₂ = r₂² ÷ r₁² [1]. Here I₁ is the initial intensity at the distance r₁, and I₂ is the final intensity at the distance r₂. The law can also be written as I × r² = constant, so the product of the intensity and the squared distance never changes as you move. The Wikipedia article gives the same relation, as a ratio of the intensities equal to the inverse ratio of the squared distances [1].
Solving for each unknown
Only three of the four values are needed, so you can find any one of them. The final intensity is I₂ = I₁ × r₁² ÷ r₂², and the initial intensity is I₁ = I₂ × r₂² ÷ r₁². For distances, r₂ = r₁ × √(I₁ ÷ I₂) and r₁ = r₂ × √(I₂ ÷ I₁). All four are our own algebra from the same relation, and the calculator uses them when you choose a value as the unknown.
A worked example: the Sun at Mars
The nominal solar constant is 1,361 watts per square metre at 1 astronomical unit [2]. For Mars, at about 1.53 astronomical units, the intensity is 1,361 × 1² ÷ 1.53², about 581.4 watts per square metre. That is less than half of what Earth gets. Enter 1,361, 1 and 1.53 with I₂ as the unknown to get exactly that. The Mars distance is an approximation, so the result is a good estimate, not a precise figure.
Why the distance is squared
The reason is geometry. The energy from a point source spreads over the surface of a sphere, and the area of a sphere is 4π r² [1]. At twice the distance, the same energy covers four times the area, so each square metre receives a quarter of it. This is why the law has a square and not a simple inverse. If the energy could not spread in all three dimensions, for example along a narrow beam, the law would not apply in this form.
The change in decibels
Sound and radio levels are often given in decibels. The change in level between two points is 10 × log₁₀ of the intensity ratio. Because the intensity ratio is r₁² ÷ r₂², doubling the distance lowers the level by about 6.02 decibels. This is our own working, which the calculator shows with every result. For the Mars example, the drop is about 3.69 decibels. The decibel line is useful for sound and signals, and has no meaning for quantities that are not measured as a level.
The Mercury example
The Wikipedia article gives the radiation of the Sun as 9,126 watts per square metre at the distance of Mercury, 0.387 astronomical units, and 1,367 watts per square metre at the distance of Earth [1]. The ratio of the distances squared is about 0.387², which is 0.150, and 1,367 ÷ 0.150 is about 9,127, so the figures agree with the law. You can check this by entering 1,367, 1 and 0.387. A distance about three times smaller gives an intensity about nine times larger.
What the law does not cover
The law models only the geometric spreading from a point source, with no absorption, scattering or other losses [1]. In the air, fog, water or glass, the real intensity falls faster than the law says. A large source, such as a long tube light or a wall, does not follow the law close to it, since it is not a point. A reflector or a lens makes a beam, and changes the pattern. Use the result as the ideal case.
Where it is used
Typical examples are stars, a light bulb and sound. The same law gives the brightness of a lamp at different distances in a room, the loudness of a speaker, and the strength of a radio signal in free space. It applies to the radiation from a small source in the same way. You do not need to know the power of the source: only the intensity at one distance, then the intensity at any other follows, which is the reason the calculator asks for ratios only.
Units and accuracy
The calculator takes any units. Intensity can be in watts per square metre, lux, decibels of pressure converted to a linear value, or counts per second, as long as both intensities share the unit. The same goes for the distance, in metres, feet or astronomical units. The law itself gives no rounding rule or range of validity. The result is shown to six significant digits, which is more than the input data usually justify, so round it to the accuracy of your measurements.
Common mistakes
- Using decibels as the intensity. Convert them to a linear value first.
- Mixing the units of distance. Use the same unit for r₁ and r₂.
- Applying the law to a large source close to it. The source must look like a point.
- Ignoring absorption. Fog, water and walls reduce the intensity further.
What next
Use this often? Add Inverse Squa to your Home screen.
Frequently asked questions
What is an inverse square law calculator?
A tool that finds an intensity or a distance from the other three values, using I₁ ÷ I₂ = r₂² ÷ r₁².
What is the inverse square law formula?
I₁ ÷ I₂ = r₂² ÷ r₁², or I × r² is constant.
What happens to the intensity if the distance doubles?
It falls to one quarter, a drop of about 6.02 decibels.
Does the law apply to a large light source?
Not close to it. The law is for a point source, or for distances much larger than the source.
Does the inverse square law include absorption?
No. It covers geometric spreading only, so real intensities can be lower.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.