In this paper, we examine the relation between ethics and mathematics and, through the formulas, we conclude that a behavior Negative or Positive. If it was negative, it would behave incorrectly and if it was positive it would be correct. Of course, each behavior is considered completely separate, and many of the benefits to each behavior may not be known yet. So any behavior will have both positive or negative effects. Here is just one example of this template to illustrate. Smoking was considered as a behavior. Given the advantages and disadvantages, an impact was defined for each, and eventually these impacts were expressed in terms of numbers, and the result was a negative number, and the result was that consumption Smoking is a negative behavior.