Aspect Ratio – Calculator and device resolutions reference for designers and developers. Calculate Aspect Ratio This site uses the calculate-aspect-ratio NPM module that calculates the aspect ratio with the provided width and height. import calculateAspectRatio from 'calculate-aspect-ratio'; const aspectRatio = calculateAspectRatio(1920, 1080); // '16:9' In addition to being able to use it in your
![AspectRat.io - Aspect ratio calculator and device resolutions reference for designers/developers.](https://cdn-ak-scissors.b.st-hatena.com/image/square/60f74ba3a0a462e1f4944c84f31721ad9ff655be/height=288;version=1;width=512/https%3A%2F%2Faspectrat.io%2Faspect-ratio-share.png)