Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working with mobile screen resolutions (dpi).

at 320dpi = 640 pixels

at 250dpi = 500 pixels

If I wanted to use the above pattern, how would I calculate to change the dpi value to make it x dpi = 480 pixel ?

Please ask if I am being vague and I will try and explain it further.

I am looking for a formula that finds the difference of how much to divide on each side I suppose.

share|cite|improve this question
up vote 2 down vote accepted

$\displaystyle \frac{x}{480}=\frac{320}{640}=\frac{250}{500}$, so $x=240$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.