Not readily available, Chris? What's wrong with a good old-fashioned ruler or measuring tape and a calculator (in head or on desktop)?

If the display pixels are non-square then the user would tell Photoshop the separate horizontal and vertical ppi of the display (or one dimension's ppi and the ratio to the other dimension's ppi, I suppose).