If u are asking about electric dipole then answer is as below
Electric Dipole Moment
 | The electric dipole moment for a pair of opposite charges of magnitude q is defined as the magnitude of the charge times the distance between them and the defined direction is toward the positive charge. It is a useful concept in atoms and molecules where the effects of charge separation are measurable, but the distances between the charges are too small to be easily measurable. It is also a useful concept in dielectrics and other applications in solid and liquid materials. |
Applications involve the electric field of a dipole and the energy of a dipole when placed in an electric field.
But for Magnetic moment it is as follows:
Magnetic moment can be explained by a bar magnet which has magnetic poles of equal magnitude but opposite polarity. Each pole is the source of magnetic force which weakens with distance. Since magnetic poles come in pairs, their forces interfere with each other because while one pole pulls, the other repels. This interference is greatest when the poles are close to each other i.e. when the bar magnet is short. The magnetic force produced by a bar magnet, at a given point in space, therefore depends on two factors: on both the strength
p of its poles, and on the distance
d separating them. The force is proportional to the product

, where

describes the "magnetic moment" or "dipole moment" of the magnet along a distance
R and its direction as the angle between
R and the axis of the bar magnet.
Any rotating charged object, from quarks to galactic superclusters, has a magnetic moment.
For relation between magnetic moment and magnetization see magnetization.
Magnetism can be created by electric current in loops and coils so any current circulating in a planar loop produces a magnetic moment whose magnitude is equal to the product of the current and the area of the loop. When any charged particle is rotating, it behaves like a current loop with a magnetic moment.
The equation for magnetic moment in the current-carrying loop, carrying current

and of area vector

for which the magnitude is given by:
where

is the magnetic moment, a vector measured in ampere?square metres, or equivalently joules per tesla,

is the current, a scalar measured in amperes, and

is the loop area vector , having as
x,
y, and
z coordinates the area in square metres of the projection of the loop into the
yz-,
zx-, and
xy-plane