It depends on the Airline. For example, United Airlines cancels flights booked less than 30% of full capacity, seven days before the departure. But if the airplane is scheduled to do a second flight from that city (they usually are), it is probably that the plane takes off anyway, even if it is pretty empty.