As a 副詞（ふくし） (adverb), 割（わり）に
is usually used in a similar way to ‘although’, ‘despite’, or ‘comparatively’ in English.
may be used at the beginning of a sentence, or after any word/phrase that it is highlighting as being ‘comparative’. When following な-Adjectives
or nouns, な or の will be required.
Although this meat is expensive, it is not flavorful.
Although you are fat, you are very athletic, aren't you?
Although this machine is very powerful, it is very slow.
Although this room is clean, it smells bad.
Although it is during rush hour, the road is very clear.
割（わり） itself is a 名詞（めいし） meaning ‘proportionate’, and is primarily used as a suffix. 割（わり）に
may be thought of as a direct extension of this use, as ‘proportionately’ is its closest literal meaning.
While 割（わり）に is often thought to make comparisons between things, it actually only ever compares something to itself (or things within the same category). The ‘proportion’ that is then highlighted is something that is not common within the category of (A).
Both 割（わり）と and 割（わり）に
are quite common expressions. However, 割（わり）と is used far more often in casual speech to show that something is ‘unexpectedly (A)’. It will also frequently be used as a stand-alone expression, appearing directly before the word (usually an adjective) that is of a ‘considerable’ amount.
This is unexpectedly tasty.
The knife I bought yesterday is quite good.