IELTS adds your four band scores (6.0 + 6.0 + 6.0 + 6.0 = 24.0), divides by 4 (6.000), then rounds to the nearest 0.5. If the average ends in .25, it rounds up to the next half band. If it ends in .75, it rounds up to the next whole band.
Band calculator by IELTS.international