Getting very confused about what mix ratio is applicable

my bike takes 30:1 mix , however I would presume the mix refers to gallons and not litres

if so what ratio /amount of 2 stroke oil do I use for 1 gallon of unleaded

any ideas ?