How does the comparison calculator work?