Divide the pixels by the inches. 72 DPI is for example an image with 1000 pixels width and 13.89 inch height. In order to convert inches into pixels, multiply the image width (in inches) by the resolution, also known as DPI. Example: 13.89 inches with 72 pixels per inch are 1000 pixels wide.