Formula to calculate camera shift in relation to frame?

I have a scene setup where I need to use the tilt feature on a camera and it needs to be pixel perfect when composed in PS over the backplate.
I would need an exact formula that would allow to calculate tilt amount in relation to the frame.

Something like tilt at 0.5 results in frame shift of 0.75 - can someone help me out?

I am not sure I understand the request. Can you please provide more detail?

Sorry for the confusion, I was speaking of shift, not tilt.

I think I figured it out now. The problem was that I didn’t realize its value corresponds directly to frame width but in my case I needed an exact match for frame height (vertical shift).
When using frame width/aspect ratio for vertical shift it works.

So for example, in order to ‘shift the frame’ by 50% in an image with an aspect ratio of 1.5, the values would be:

  • Horizontal shift at 0.5
  • Vertical shift at 0.333 (0.5/1.5)