Usually use a 40:1 or 50:1 mix, but you must buy the proper high performance oil sold for chainsaws. It is possible to use 20:1 with lower grade oils but people can usually see where you are working from the clouds of smoke.
You wil know if you have the mix wrong, after running a while the spark plug will be a sort of browny colour. If its white you do not have enough oil, if its black you have too much oil and it is unburnt, which will gunge up the machine. A white spark plug meaning too lean a mixture will seize the engine.
It is important to check the spark plug to see if the machine is tuned correctly.....