There are different estimation techniques to estimate the effort of a user story. For example, there is planning poker, triangulation and affinity estimation to estimate user stories. When using affinity estimation to estimate the effort of a user story you categorize the effort of a user story to a categorial, ordinal scale and use t-shirt sizes as XS, S, M, L or XL.