Rationality is the quality or state of being reasonable, based on facts or reason. Rationality implies the conformity of one's beliefs with one's reasons to believe, or of one's actions with one's reasons for action. "Rationality" has different specialized meanings in philosophy,economics, sociology, psychology, evolutionary biology, and political science.
To determine what behavior is the most rational, one needs to make several key assumptions, and also needs a quantifiable formulation of the problem. When the goal or problem involves making a decision, rationality factors in how much information is available (e.g. complete or incomplete knowledge). Collectively, the formulation and background assumptions are the model within which rationality applies. Illustrating the relativity of rationality: if one accepts a model in which benefitting oneself is optimal, then rationality is equated with behavior that is self-interested to the point of being selfish; whereas if one accepts a model in which benefiting the group is optimal, then purely selfish behavior is deemed irrational. It is thus meaningless to assert rationality without also specifying the background model assumptions describing how the problem is framed and formulated.
The German sociologist Max Weber proposed an interpretation of social action that distinguished between four different idealized types of rationality. The first, which he called Zweckrational or purposive/instrumental rationality, is related to the expectations about the behavior of other human beings or objects in the environment. These expectations serve as means for a particular actor to attain ends, ends which Weber noted were "rationally pursued and calculated." The second type, Weber called Wertrational or value/belief-oriented. Here the action is undertaken for what one might call reasons intrinsic to the actor: some ethical, aesthetic, religious or other motive, independent of whether it will lead to success. The third type was affectual, determined by an actor's specific affect, feeling, or emotion—to which Weber himself said that this was a kind of rationality that was on the borderline of what he considered "meaningfully oriented." The fourth was traditional or conventional, determined by ingrained habituation. Weber emphasized that it was very unusual to find only one of these orientations: combinations were the norm. His usage also makes clear that he considered the first two as more significant than the others, and it is arguable that the third and fourth are subtypes of the first two.