The output will be:

S = #
B = #
T = #

Put in the measurements of your mat and picture and then calculate the layout.
Please use dot "." as decimal separator.
mat width:   

mat height:  

pic width:     

pic height:    

hidden mat:   mat that is hidden under the frame

Reload fresh page

the Theory

Try this with mat partly hidden by frame