8x 10 can be expressed as the ratio- 8:10 it can then be simplified by reducing both sides by the same amounts...so it is the same as 4:5, 2:2.5, and finally, 1:1.25.
5x7 is equal to the ratio 5:7 which can be simplified to 1:1.4.
You can just divide the second number by the first to get the ratio.
Here are the common sizes and mat and frame sizes for them...
[TABLE="class: brtb_item_table"][TBODY][TR][TD="align: center"]
Frame size
[/TD][TD="align: center"]
Mat opening
[/TD][TD="align: center"]
Image size
[/TD][/TR]
[TR][TD="align: center"]
8" x 10"
[/TD][TD="align: center"]
4.5" x 6.5"
[/TD][TD="align: center"]
5" x 7"
[/TD][/TR]
[TR][TD="align: center"]
11" x 14"
[/TD][TD="align: center"]
7.5" x 9.5"
[/TD][TD="align: center"]
8" x 10"
[/TD][/TR]
[TR][TD="align: center"]
16" x 20"
[/TD][TD="align: center"]
10.5" x 13.5"
[/TD][TD="align: center"]
11" x 14"
[/TD][/TR]
[TR][TD="align: center"]
20" x 24"
[/TD][TD="align: center"]
15.5" x 19.5"
[/TD][TD="align: center"]
16" x 20"
[/TD][/TR]
[TR][TD="align: center"]
24" x 36"
[/TD][TD="align: center"]
19.5" x 29.5"
[/TD][TD="align: center"]
20" x 30"
[/TD][/TR]
[TR][TD="align: center"]
30" x 40"
[/TD][TD="align: center"]
21.5" x 31.5"
[/TD][TD="align: center"]
22" x 32"
[/TD][/TR][/TBODY][/TABLE]