Reactions calculator