For gratuity should be finished min One Year and it will calculated as
Basic Salary/30*(21/360*nos days worked)