purchase variant account in general posting group proplem

I want to know when can i use variant account in cost meaning purchase variant account in general posting group

How can i calculate it and when it has value or amount

Purchase variance account used for post the difference between standard cost and direct cost of purchased inventory.