As per the factory act 1948, Leave will be calculated for 1 Leave for every 20 days working. 240 working days will result approximate 15 days leave but the working should be previous year. Means You need to first Work for actual 240 days and then you can enjoy the same.