DPI only matters when an image is printed. On a screen, an image is simply its pixel width and height. Changing the DPI number stored in a file does not change a single pixel.
The formula is simple: pixels = inches x DPI. A 4 x 6 inch print at 300 DPI needs 1200 x 1800 pixels. At 150 DPI it needs 600 x 900 pixels.
300 DPI is the usual standard for photos viewed up close. Posters seen from a distance look fine at 150 DPI.