|Compute Stellar Magnitude vs. Distance|
Enter any three known values and leave the unknown value blank.  This program will then compute and display the unknown value from the three given known values. The body can be a star, planet, asteroid, etc., - any object to which we apply the stellar magnitude system. The distance can be taken as being in any convenient, units, such as kilometers, miles, AUs, light years, etc., whatever you decide the units represent.
Apparent Stellar Magnitude With Respect to Distance
Using the following equations, we can mathematically move a star around in space and compute its apparent brightness at any given distance from any given known starting values. This also allows us to mathematically compare the relative brightness of any two stars side-by-side at any common distance. For example, we might wish to compute how bright a star our sun would appear to be in the sky of a planet orbiting a star 200 light years away or how the brightness of the sun would compare with another star, side-by-side, at any given distance.
m1 = Apparent magnitude of a star as viewed from distance d1
m2 = Apparent magnitude of the same star as viewed from distance d2
The distance can be in any convenient units, such as AUs, light years, etc.
The relationship between apparent magnitude and distance may be expressed in terms of any of the four variables according to the following equations where each variable is defined in terms of the other three.
Using any convenient units of distance, the general mathematical relationship between stellar magnitude and distance may be expressed as:
From which it follows that:
© Jay Tanner - PHP Science Labs 2018 - v2.55