By moving it a set distance and measuring the actual movement you can calculate the required setting.