OTD vs Monthly $$

I have truly enjoyed the plethora of information on this website, your YouTube videos and this forum. I know that we want to “try” and get the OTD number straight out of the gate. But my question is ‘How do we know that the OTD # makes sense?’ Because, the truth of the matter is I KNOW what my monthly payment needs to be at (within a range) to feel comfortable affording the vehicle. So how does one “back-calculate” what the OTD #$ needs to be in order to KNOW I a. can afford the car and b. it’s within that range?