Thank you for your comments.
Please note that depending on the source of calibration data the length label is displayed in different color:
https://www.radiantviewer.com/dicom-viewer-manual/length.html
The only way to obtain exact measurements in the DSA picture is to calibrate length measurements to a known object, e.g., a catheter inside a blood vessel.
The formula that you provided does not account for the thickness of the examined object. There would still be an error between two measurements located on the opposite sides of the examined object.