This is a simple tool for calculating aspect ratios. Simply enter any resolution into the top fields and it will calculate the aspect ratio as a simplified ratio. Feel free to use the code in your projects, or improve upon it. Currently the calculation loop is set to 500. This can be modified to increase, or decrease performance.

Requires Mouse and Window Control extensions due to custom window frame.

AspectRatioCalculator.mfa