Some fans have a small arrow on one of the sides indicating the direction of air flow.
Generally speaking case fans will have their power cable towards the inside of the of the computer when used as an intake fan. In addition the data label on the fan's center hub will be towards the inside of the case.