They are very different but have a few similarities. They are similar because they are both concerned with potentially determining what human actions are correct and what actions are wrong. They also both attempt to specify and justify moral rules and principles. Overall, both of these ethical theories are directed mainly towards necessities. Beyond these similarities, there are no others between Utilitarianism and Deontology.
However, there are a handful of differences between these to theories. They take very different approaches to understand what is good and what is bad. Utilitarianism bases its judgments on the consequences of someone’s actions. This theory is also concerned with how our actions turn out. Deontological reasoning is the exact opposite. This theory is mainly concerned with the motives behind our actions. Our actions are good or bad because of why we do them. Everything is based on intentions, which can be good or bad depending on why we do them. Good intentions come about if we do good