After learning a particular target stimulus, such as a location, humans' judgments of whether a particular stimulus is the target or not is affected by the range of stimuli presented on tests. In such frequently found range effects, the peak of 'yes' responses shifts toward the middle of the range of tested stimuli. Humans also code both the metric value and categorical information regarding a target stimulus, and use both forms of codes, such that responses are biased toward the category middle (category adjustment model, Duffy et al., 2010). Categorical codes should also affect range effects, with a test range crossing category boundaries producing less range effect than a test range within a category. We examined a set of past results presented in a review of range effects in humans (Thomas, 1993) for functional explanations in light of categorical coding, and found that all results could be reasonably explained. Additional experiments comparing range effects across vs. within a category found limited supporting evidence, perhaps because the range effects were weak. The adaptive functions of using (in part) categorical coding accounts for many seemingly peculiar biases in human cognition.