A simple yet powerful Aspect Ratio Calculator by Joltfly designed to calculate and adjust aspect ratios for optimal visual experience. This tool helps users determine accurate dimensions for videos, images, and designs, ensuring they look great across different screens and resolutions.
- Preset Ratios: Choose from commonly used aspect ratios like 16:9, 4:3, 1:1, 21:9, and 3:2 to quickly calculate standard sizes.
- Customizable Units: Work in pixels, inches, or centimeters for precise adjustments and conversions.
- Adjustable Dimensions: Input your desired width and height in your chosen units to see real-time calculations for:
- Megapixels: The size of your content in megapixels.
- Aspect Ratio: Automatically displayed based on input dimensions.
- Diagonal Angle: Displayed in radians and degrees.
- Diagonal Length: Shows the diagonal length in pixels for accurate sizing.
- Copy to Clipboard: Easily copy your calculated dimensions and ratios for use in your projects.
- Reset Option: Reset the calculator to its default settings to start over without hassle.
- Select a Preset Ratio: Choose from ratios like 16:9, 4:3, 1:1, etc.
- Input Dimensions: Enter width and height in pixels, inches, or centimeters. The calculator will automatically display:
- Megapixels of the input.
- Diagonal Length and Angle based on input dimensions.
- Copy to Clipboard: Once you have the desired dimensions, use the “Copy to Clipboard” button to quickly copy and paste the results.
- Reset: If you want to start over, simply use the reset button to clear the current values.
- Accuracy: Maintain the correct aspect ratio for any content on any display.
- Convenience: Quickly calculate dimensions without needing complex tools.
- Flexibility: Adjust width and height to experiment with different aspect ratios.
- Ease of Use: User-friendly interface for both technical and non-technical users.
To run the tool locally, follow these steps:
- Clone the repository:
git clone https://github.com/sopheadave/display-aspect-ratio-calculator.git
- Clone the repository:
cd display-aspect-ratio-calculator
- Open the index.html file in your preferred browser to start using the calculator.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Feel free to fork this repository, make improvements, and submit a pull request.
For any issues or suggestions, contact us via the Joltfly official site or open an issue on GitHub.