In New South Wales the HSC is awarded by NESA and the ATAR is calculated by the Universities Admissions Centre (UAC) from your HSC marks. They are released within days of each other but come from different bodies doing different jobs. Here is what happens between your last exam and your ATAR.
Every course gives you two marks: an examination mark from the external HSC exam, and a school-based assessment mark. NESA moderates the school mark against your school's exam performance so that assessment marks are comparable between schools, then averages the moderated assessment mark and the examination mark to produce your HSC mark. That HSC mark, out of 100 for a 2-unit course, is what appears on your record of achievement.
UAC does not use HSC marks directly. It first scales every course so that marks reflect the strength of the students who took each course. The result is a scaled mark out of 50 per unit, so a 2-unit course yields a scaled mark out of 100.
Scaling is recalculated every year from the actual cohort. UAC publishes summary statistics for each course in its annual scaling report but, unlike Victoria, it does not publish a mark-by-mark scaling table. Any NSW calculator therefore has to model each course's curve from those summaries, which is why estimates are indicative rather than exact.
Your aggregate is the sum of scaled marks for 10 units: your best 2 units of English, which are compulsory, plus your best 8 remaining units. The maximum aggregate is 500.
UAC then ranks every aggregate against the whole NSW age cohort, including those who left school before Year 12, to produce the ATAR. It runs from 99.95 to 30.00 in 0.05 steps.
A student takes English Advanced (2 units), Mathematics Advanced (2), Biology (2), Modern History (2), Business Studies (2) and Studies of Religion I (1 unit): 11 units in total.
Sources
Figures in worked examples are illustrative. Scaling and rank conversions are recalculated by each admissions centre every year, so treat every estimate as a guide, not a prediction.