This post explains which visas are routes to settlement in the UK, the length of time you need to spend on each visa before you qualify for settlement, and whether you can combine this with time spent on other visas. (Please note, this post focuses on the rules for main applicants, rather than dependants. It does not cover settled status under the EU Settlement Scheme.)
Until 11 April 2024, 10 Year Long Residence Indefinite Leave to Remain applications required absences from the UK of no more than 18 months (548 days) in total, and 6 months (184 days) at one time.