The International Agency for Research on Cancer finds that tanning beds are "carcinogenic to humans" and that people who begin using tanning devices before the age of thirty years are 75% more likely to develop melanoma.Those who work in airplanes also appear to have an increased risk, believed to be due to greater exposure to UV.UVB light (wavelengths between 315 and 280 nm) from the sun is absorbed by skin cell DNA and results in a type of direct DNA damage called cyclobutane pyrimidine dimers. Thymine, cytosine, or cytosine-thymine dimers are formed by the joining of two adjacent pyrimidine bases within a DNA strand. Somewhat similarly to UVB, UVA light (longer wavelengths between 400 and 315 nm) from the sun or from tanning beds can also be directly absorbed by skin DNA (at about 1/100 to 1/1000 of the efficiency of UVB).Exposure to radiation (UVA and UVB) is one of the major contributors to the development of melanoma. Occasional extreme sun exposure (resulting in "sunburn") is causally related to melanoma. Melanoma is most common on the back in men and on legs in women (areas of intermittent sun exposure). The risk appears to be strongly influenced by socioeconomic conditions rather than indoor versus outdoor occupations; it is more common in professional and administrative workers than unskilled workers. Other factors are mutations in or total loss of tumor suppressor genes.
Prognosis
Factors that affect prognosis include:

tumor thickness in millimeters (Breslows depth),
depth related to skin structures (Clark level),
type of melanoma,
presence of ulceration,
presence of lymphatic/perineural invasion,
presence of tumor-infiltrating lymphocytes (if present, prognosis is better),
location of lesion,
presence of satellite lesions, and
presence of regional or distant metastasis.Certain types of melanoma have worse prognoses but this is explained by their thickness. Less invasive melanomas even with lymph node metastases carry a better prognosis than deep melanomas without regional metastasis at time of staging. Local recurrences tend to behave similarly to a primary unless they are at the site of a wide local excision (as opposed to a staged excision or punch/shave excision) since these recurrences tend to indicate lymphatic invasion. When melanomas have spread to the lymph nodes, one of the most important factors is the number of nodes with malignancy. Extent of malignancy within a node is also important; micrometastases in which malignancy is only microscopic have a more favorable prognosis than macrometastases. In some cases micrometastases may only be detected by special staining, and if malignancy is only detectable by a rarely employed test known as the polymerase chain reaction (PCR), the prognosis is better. Macrometastases in which malignancy is clinically apparent (in some cases cancer completely replaces a node) have a far worse prognosis, and if nodes are matted or if there is extracapsular extension, the prognosis is worse still.