When you're dealing with digital images, dpi (Dots Per Inch) is a completely meaningless metric. Because you can imagine that your digital 500 by 500 pixel image is an inch wide, or a mile wide. It's still exactly 500 by 500 pixels.
When talking about image file resolution for printing purposes, the number you need is never dpi. It's width in pixels.