Elegance is beauty that shows unusual effectiveness and simplicity.
Elegance is frequently used as a standard of tastefulness, particularly in visual design, decorative arts, literature, science, and the aesthetics of mathematics.
Elegant things often exhibit refined and suggest maturity, and in the case of mathematics, a deep understanding into the subject matter.

General concept

Essential components of the concept include simplicity and consistency of design, focusing on the essential features of an object. In art of any kind one might also require dignified grace, or restrained beauty of style.
Visual stimuli are frequently considered elegant, if a small number of colors and stimuli are used, emphasizing the remainder.

In philosophy of science

In the philosophy of science, there are two concepts referring to two aspects of simplicity: elegance, which means the number and complexity of hypotheses, and parsimony, which is the number and complexity of things postulated.

In mathematics

In mathematical problem solving, the solution to a problem exhibits mathematical elegance if it is surprisingly simple and insightful yet effective and constructive. Such solutions might involve a minimal amount of assumptions and computations, while outlining an approach that is highly generalizable. Similarly, a computer program or algorithm is elegant if it uses a small amount of code to great effect.

In engineering

In engineering, a solution may be considered elegant if it uses a non-obvious method to produce a solution which is highly effective and simple. An elegant solution may solve multiple problems at once, especially problems that are not thought to be inter-related.
Elegance can arguably be measured for engineering problems as the ratio of problem complexity to that of solution complexity. Thus a simple solution to a problem of high complexity is seen as elegant. This measure does not advise of process to produce elegant solutions, and is merely a way of comparing between multiple solutions for elegance assessment.

In chemistry

In chemistry, chemists might look for elegance in theory, method, technique and procedure. For example, elegance might comprise creative parsimony and versatility in the utilization of resources, in the manipulation of materials, and in the effectiveness in syntheses and analysis.

In pharmacy

In pharmacy, elegance in formulation is important for quality as well as for effectiveness in dosage form design, a major component of pharmaceutics.