Let

be the golden ratio, and let

be a face ratio. Then

. A natural idea is to have a linear function that maps the difference

to [0, 10] such that the difference 0 is mapped to 10. However, one has to select what value is mapped to 0, i.e., which face ratio is absolutely ugly. For example, one can decide that

the ratio 3 is absolutely ugly, so

is mapped into 0. The function that maps

into [10, 0] is

, so the measure of beauty for a face ratio

is

. Good news: for your values, the measures are both around 9.97; this is because they are very far from the ugliness standard.