The resolution of an image can be converted from one dpi to another according to these formulas:
output width at screen dpi = (original width)*((user dpi)/(screen dpi))
output height at screen dpi = (original height)*((user dpi)/(screen dpi))
I made a resolution calculator that uses the above formulas: