Sentiment score is calculated using Natural Language Processing (NLP) techniques. These techniques involve analyzing text to determine whether the sentiment expressed is positive, negative, or neutral. Each word or phrase is assigned a score, and the overall sentiment score is derived by averaging these individual scores. Advanced algorithms also consider context, negations, and intensifiers to improve accuracy.