Help with calculating UC GPA?

Sophomore Year Grades
English 3-4: B, C
Geometry: A, A
Advanced Algebra: B-, B
AP Euro: B-, B
Integrated Science 3-4: A-, B
Spanish 5-6: B,
Intermediate Drama: B, B

Summer after Sophomore Year
(CC) Intro To Biology Lecture: B+
(CC) Intro to Biology Lab: A

Junior Year
AP US History: A, A
Honors PreCalc: A, A
Honors Essay Exposition: A, A
Chemistry: A, A
Computer Programming: A, A
Photography: A, A
(CC) Intro To Psychology: A
(CC) Biological Psychology: A

Summer after Junior Year
(CC) Psychology of Human Development, Lifespan: A
(CC) Drawing and Composition II: A

All the community college classes are part of a-g requirements. I’m just confused on how to calculate all this.

https://rogerhub.com/gpa-calculator-uc/

Using the Rogerhub UC GPA calculator, I get capped weighted of 3.87 and fully weighted 4.00.