A star's visual magnitude can be computed from its absolute magnitude and distance with the following formula:


This calculator computes the visual magnitude of a star, where:

Click here for more formulas