Calculate Molar Extinction Coefficient: A Guide

20 minutes on read

Molar extinction coefficient represents a crucial constant in spectrophotometry, defining a substance's ability to absorb light at a given wavelength. Determining protein concentration often relies on measuring absorbance using a spectrophotometer, an analytical instrument commonly found in biochemistry labs. The Beer-Lambert Law provides the theoretical framework, as absorbance (A) equals the product of the molar extinction coefficient (ε), the path length (l), and the concentration (c). Understanding this relationship is fundamental for anyone working with chromophores and essential when learning how to calculate molar extinction coefficient for accurate quantitative analysis.

The molar extinction coefficient (ε), also known as the molar absorptivity, is a fundamental property of a chemical species. It quantifies the ability of that species to absorb light at a specific wavelength (λ). Understanding this coefficient is paramount to various quantitative analyses across a multitude of scientific disciplines.

Defining the Molar Extinction Coefficient

Specifically, the molar extinction coefficient (ε) represents the absorbance of a 1 molar solution of a substance, measured in a cuvette with a 1 cm path length. Its units are typically expressed as L⋅mol⁻¹⋅cm⁻¹.

The magnitude of ε reflects how strongly a substance absorbs light at a given wavelength. A higher ε indicates a greater capacity to absorb light, while a lower ε signifies weaker absorption.

Significance in Quantitative Analysis

The molar extinction coefficient is indispensable for quantitative analysis. It enables scientists to determine the concentration of a substance in a solution by measuring its absorbance. This principle finds widespread application in:

  • Chemistry: Determining reaction rates, quantifying product formation.

  • Biology: Measuring enzyme activity, analyzing protein concentrations.

  • Environmental Science: Monitoring pollutants in water or air samples.

  • Material Science: Characterizing optical properties of thin films and materials.

The Beer-Lambert Law: Connecting Absorbance and Concentration

The relationship between absorbance, concentration, and the molar extinction coefficient is defined by the Beer-Lambert Law:

A = εlc

Where:

  • A represents the absorbance of the solution.

  • ε is the molar extinction coefficient.

  • l signifies the path length of the light beam through the solution (typically in cm).

  • c denotes the concentration of the solution (typically in mol/L or M).

This law provides a direct, linear relationship between absorbance and concentration, provided that certain conditions are met. The Beer-Lambert Law is a cornerstone of spectrophotometry, enabling the quantitative determination of substances based on their light-absorbing properties.

By understanding the molar extinction coefficient and its role in the Beer-Lambert Law, researchers can accurately quantify substances and gain valuable insights into chemical and biological processes.

Understanding the Beer-Lambert Law and its Components

The molar extinction coefficient (ε), also known as the molar absorptivity, is a fundamental property of a chemical species. It quantifies the ability of that species to absorb light at a specific wavelength (λ). Understanding this coefficient is paramount to various quantitative analyses across a multitude of scientific disciplines.

Defining the Beer-Lambert Law and grasping its components is essential before attempting to apply it. Let's delve into each aspect of this vital concept.

The Core of the Law: A = εlc

The Beer-Lambert Law is mathematically expressed as A = εlc, where each symbol represents a crucial parameter influencing light absorption. This equation serves as the cornerstone for quantitative spectrophotometry, linking absorbance to concentration.

Decoding the Equation: Defining A, ε, l, and c

  • Absorbance (A): This is a dimensionless quantity reflecting the amount of light absorbed by the sample. Higher absorbance indicates greater light absorption.

  • Molar Extinction Coefficient (ε): Measured in units of L mol⁻¹ cm⁻¹, this is an intrinsic property of the substance, defining how strongly it absorbs light at a given wavelength. This represents how intensely a chemical species absorbs light at a given wavelength.

  • Path Length (l): This is the distance the light beam travels through the sample, expressed in centimeters (cm). In most spectrophotometers, this is typically 1 cm.

  • Concentration (c): This refers to the amount of the absorbing substance per unit volume of the solution, commonly expressed in molarity (mol/L or M). This dictates the quantity of the absorbing species present.

The Interplay of Components: How They Influence Absorbance

Each component plays a pivotal role. The absorbance is directly proportional to both the concentration of the absorbing species and the path length of the light beam through the sample. Increasing either concentration or path length will result in a higher absorbance reading. The molar extinction coefficient acts as a proportionality constant, specific to the substance at a particular wavelength.

Linearity and Limitations: When the Law Holds True

The Beer-Lambert Law is most accurate under specific conditions. Deviations can occur, leading to non-linear relationships between absorbance and concentration.

Optimal Conditions for Linearity

The law holds true primarily for dilute solutions (typically less than 0.01 M). This is because, at higher concentrations, interactions between molecules of the absorbing species can alter their absorptive properties.

The use of monochromatic light (light of a single wavelength) is also important. Polychromatic light can lead to deviations because the molar extinction coefficient varies with wavelength.

Factors Affecting Linearity

Several factors can compromise the linearity of the Beer-Lambert Law.

  • High concentrations: As mentioned earlier, can cause deviations.

  • Scattering: If the sample contains particles that scatter light, the measured absorbance will be higher than the true absorbance.

  • Chemical reactions: If the absorbing species undergoes a chemical reaction, the concentration of the absorbing species will change, leading to non-linearity.

Absorbance (A) vs. Transmittance (T): An Inverse Relationship

Absorbance and transmittance are two sides of the same coin, describing how light interacts with a sample.

Defining Absorbance

Absorbance (A) represents the fraction of incident light absorbed by the sample. A higher absorbance value signifies that less light passes through the sample.

Defining Transmittance

Transmittance (T) represents the fraction of incident light that passes through the sample. It is often expressed as a percentage (%T).

The Inverse Connection

Absorbance and transmittance are inversely related. Mathematically, A = -log₁₀(T). This means that as absorbance increases, transmittance decreases, and vice versa.

The Importance of Accurate Concentration (c)

Accurate determination of the concentration of the absorbing species is absolutely critical for reliable application of the Beer-Lambert Law. Any error in concentration will directly translate into an error in the calculated molar extinction coefficient or in determining the concentration of an unknown sample.

Concentration Units: Molarity and Beyond

Concentration can be expressed in various units.

  • Molarity (M): Moles of solute per liter of solution (mol/L).

  • mg/mL: Milligrams of solute per milliliter of solution.

  • ppm: Parts per million, often used for very dilute solutions.

  • Other common units: Normality (N), molality (m), and percentage (%) can be used depending on the specific application.

Path Length (l): The Journey of Light

The path length is another critical parameter influencing absorbance.

Defining Path Length

Path length (l) is the distance that the light beam travels through the sample. It is typically the width of the cuvette holding the sample.

Impact on Absorbance

Absorbance is directly proportional to path length. Doubling the path length, assuming all other variables remain constant, will double the absorbance.

Standard Path Lengths

Most spectrophotometers use cuvettes with a standard path length of 1 cm. This simplifies calculations and allows for easy comparison of results across different instruments and experiments. However, using non-standard cuvettes requires careful consideration and appropriate corrections in calculations.

Experimental Techniques and Instrumentation: Measuring Absorbance

Understanding the theoretical underpinnings of the Beer-Lambert Law is only half the battle. Successfully applying this law requires mastering the experimental techniques and instrumentation used to accurately measure absorbance. This section delves into the practical aspects of spectrophotometry, spectrophotometers, cuvettes, and software, providing a guide to obtaining reliable and meaningful data.

Spectrophotometry: The Foundation of Absorbance Measurement

Spectrophotometry is the cornerstone technique for measuring absorbance. It quantifies the interaction of light with a substance by measuring the amount of light that passes through a sample (transmittance) relative to the amount of light that initially illuminates the sample.

The fundamental principle behind spectrophotometry is straightforward: substances absorb light at specific wavelengths. By measuring the intensity of light before and after it passes through a sample, spectrophotometry determines the absorbance (A) of the substance at a given wavelength (λ).

Spectrophotometry is inextricably linked to the Beer-Lambert Law (A = εlc). Absorbance, the quantity measured by the spectrophotometer, is directly proportional to the concentration of the analyte (c), the path length of the light beam through the sample (l), and, most importantly, the molar extinction coefficient (ε). Spectrophotometry provides the means to experimentally determine A, which can then be used to calculate ε or, conversely, to determine an unknown concentration if ε is known.

Types of Spectrophotometers and Their Applications

Spectrophotometers come in various forms, each designed for specific applications. The most common type is the UV-Vis spectrophotometer, which measures absorbance in the ultraviolet (UV) and visible regions of the electromagnetic spectrum.

UV-Vis spectrophotometers are workhorses in analytical laboratories. They are used for a wide array of applications, including quantifying DNA and protein concentrations, monitoring reaction kinetics, and determining the purity of chemical compounds.

Other types of spectrophotometers exist, such as infrared (IR) spectrophotometers, which probe the vibrational modes of molecules, and atomic absorption spectrophotometers (AAS), which quantify specific elements in a sample. However, for determining molar extinction coefficients, UV-Vis spectrophotometers are the primary tool.

Key Components of a UV-Vis Spectrophotometer

A UV-Vis spectrophotometer comprises several key components, each playing a critical role in the absorbance measurement process:

  • Light Source: Provides a stable and consistent beam of light. UV-Vis spectrophotometers typically use deuterium lamps for UV light and tungsten lamps for visible light.

  • Monochromator: Selects a specific wavelength (λ) of light from the light source and directs it towards the sample. This ensures that the absorbance measurement is performed at the desired wavelength.

  • Sample Holder: Holds the sample (usually in a cuvette) in the path of the light beam.

  • Detector: Measures the intensity of the light that passes through the sample. Detectors are typically photomultiplier tubes (PMTs) or photodiodes.

  • Data Display: Presents the absorbance readings and other relevant data to the user. This is often integrated with software for data processing and analysis.

The monochromator is crucial for selecting the precise wavelength needed for analysis. A narrow bandwidth from the monochromator is essential for accurate measurements, especially when dealing with sharp absorbance peaks.

Measuring Absorbance with a Spectrophotometer

A spectrophotometer measures absorbance by comparing the intensity of a beam of light before and after it passes through a sample. This is accomplished through two beams: a reference beam and a sample beam.

The reference beam passes through a blank (a cuvette containing only the solvent) to establish a baseline. The sample beam passes through the sample containing the analyte. The detector measures the intensity of both beams.

The absorbance (A) is calculated using the following equation:

A = -log10 (I/I0)

Where:

  • I0 is the intensity of the reference beam (light source).
  • I is the intensity of the sample beam after passing through the sample.

The instrument automatically performs this calculation and displays the absorbance value. Accurate baseline correction, using the blank, is essential for reliable absorbance measurements.

Cuvettes: Selecting the Right Container for Your Sample

Cuvettes are transparent containers designed to hold samples in a spectrophotometer. The type of cuvette used is critical because different materials transmit light differently at various wavelengths.

  • Quartz cuvettes are required for UV measurements because glass and plastic absorb UV light.

  • Glass cuvettes are suitable for visible light measurements but cannot be used in the UV range.

  • Plastic cuvettes are the least expensive but may not be suitable for precise measurements or for use with certain solvents.

The choice of cuvette depends on the wavelength of light being used and the compatibility of the cuvette material with the solvent and sample. Always select a cuvette that is transparent at the wavelength of interest.

Proper Handling and Care of Cuvettes

Proper handling and care of cuvettes are essential for accurate and reliable spectrophotometric measurements. Dirty or scratched cuvettes can significantly affect absorbance readings.

  • Cleaning: Cuvettes should be cleaned thoroughly before and after each use. Use a mild detergent and a soft brush or lint-free cloth. Rinse thoroughly with distilled or deionized water.

  • Handling: Avoid touching the optical surfaces of the cuvette. Handle cuvettes by the top or the sides.

  • Storage: Store cuvettes in a clean, dry place, preferably in a cuvette rack or case.

Avoid using abrasive cleaners or harsh chemicals, as these can damage the cuvettes. Scratches or fingerprints on the optical surfaces will scatter light and lead to inaccurate absorbance readings.

Software for Data Acquisition and Analysis

Modern spectrophotometers are equipped with sophisticated software for data acquisition, processing, and analysis. This software allows users to control the instrument, collect data, and perform various calculations.

Spectrophotometer software typically provides the following features:

  • Instrument Control: Allows users to set parameters such as wavelength range, scan speed, and data acquisition mode.

  • Data Acquisition: Collects absorbance readings and displays them in real-time.

  • Data Processing: Provides tools for baseline correction, smoothing, and peak identification.

  • Data Analysis: Performs calculations such as determining concentrations from standard curves and calculating molar extinction coefficients.

Baseline correction is a critical step in data processing. It removes any background absorbance from the solvent or cuvette, ensuring that the absorbance reading is solely due to the analyte of interest. Peak identification algorithms can automatically locate absorbance maxima, aiding in the selection of the appropriate wavelength for analysis.

Practical Applications and Considerations for Accurate Results

[Experimental Techniques and Instrumentation: Measuring Absorbance Understanding the theoretical underpinnings of the Beer-Lambert Law is only half the battle. Successfully applying this law requires mastering the experimental techniques and instrumentation used to accurately measure absorbance. This section delves into the practical aspects of spectrophotometry, including sample preparation, calibration, data analysis, and wavelength selection, all of which are crucial for obtaining accurate and reliable results when working with the molar extinction coefficient.]

The Crucial Role of Sample Preparation

The accuracy of any spectrophotometric measurement hinges critically on the quality of the sample. Improper sample preparation can introduce a multitude of errors, skewing absorbance values and invalidating subsequent calculations.

Think of it this way: if the light beam encounters anything other than the analyte of interest, the absorbance reading will be compromised.

Contaminants, particulate matter, or even air bubbles can scatter light, leading to artificially high absorbance readings.

Therefore, meticulous sample preparation is not merely a preliminary step; it's a cornerstone of reliable spectrophotometry.

Essential Sample Preparation Techniques

Several techniques are commonly employed to ensure sample integrity:

  • Filtration: Removes particulate matter that can scatter light. Using appropriate filter pore sizes is key.

  • Dilution: Ensures the analyte concentration falls within the linear range of the Beer-Lambert Law. Remember, concentrated solutions can deviate from linearity.

  • Degassing: Removes dissolved gases that can form bubbles in the light path. Sonication or vacuum degassing are common methods.

Calibration: Correcting for Instrument Imperfections

Even the most sophisticated spectrophotometer is not immune to inherent imperfections. Calibration is the process of correcting for these instrument errors, ensuring that absorbance readings accurately reflect the true absorbance of the sample.

Without proper calibration, systematic errors can creep into your data, leading to inaccurate results.

The Power of Standards and Blanks

Calibration typically involves running a series of standards and blanks:

  • Standards: Solutions of known analyte concentration, used to create a calibration curve. This curve plots absorbance against concentration, allowing for the determination of unknown sample concentrations.

  • Blanks: Solutions containing all components of the sample except the analyte of interest. Blanks are used to zero the instrument and correct for any background absorbance.

Using a well-constructed calibration curve is essential for reliable quantitative analysis.

Data Analysis: Unveiling the Story in the Spectra

Spectrophotometric data often comes in the form of spectra – graphs of absorbance versus wavelength. Analyzing these spectra requires more than just reading peak absorbance values.

Robust data analysis techniques are essential to extract meaningful information.

Techniques for Spectral Interpretation

  • Baseline Correction: Corrects for any wavelength-dependent background absorbance. This ensures that the absorbance of the analyte is accurately measured.

  • Peak Identification: Identifying the wavelengths at which the analyte absorbs most strongly. This information can be used to confirm the identity of the analyte.

  • Quantitative Analysis using Spreadsheet Software: Spreadsheet software such as Excel and Google Sheets can be used to perform calculations to determine parameters such as concentration (c).

Wavelength Selection: Maximizing Sensitivity

The molar extinction coefficient (ε) is wavelength-dependent, meaning that a substance absorbs light differently at different wavelengths.

Choosing the appropriate wavelength for absorbance measurements is critical for maximizing sensitivity and minimizing errors.

Finding the Optimal Wavelength (λmax)

The optimal wavelength is typically the wavelength at which the analyte exhibits maximum absorbance (λmax). This can be determined by analyzing the absorbance spectrum and identifying the peak absorbance.

Working at λmax provides the greatest signal-to-noise ratio, leading to more accurate and precise measurements.

Factors Influencing the Molar Extinction Coefficient

Understanding the theoretical underpinnings of the Beer-Lambert Law is only half the battle. Successfully applying this law requires mastering the experimental techniques and instrumentation used to accurately measure absorbance. Beyond the technical aspects, several external factors can significantly influence the molar extinction coefficient (ε), affecting the reliability of your results. Knowing these factors and how to mitigate their effects is critical for obtaining accurate and meaningful data.

This section delves into these influencing factors, specifically focusing on solvent effects and the crucial role of chromophores in determining the molar extinction coefficient.

Solvent Effects on the Molar Extinction Coefficient

The solvent in which a substance is dissolved plays a significant role in determining its molar extinction coefficient.

This is because the solvent interacts with the solute molecules, altering their electronic structure and thus their ability to absorb light.

Polarity and Solute-Solvent Interactions

Solvent polarity is a key factor. Polar solvents tend to stabilize polar excited states of the solute, leading to shifts in the absorption spectrum and changes in the molar extinction coefficient.

Conversely, non-polar solvents favor non-polar excited states.

These interactions are not simply electrostatic; they involve a complex interplay of forces, including van der Waals interactions, hydrogen bonding, and dipole-dipole interactions.

For instance, a compound with a strong dipole moment might exhibit a different ε in water (a highly polar solvent) compared to hexane (a non-polar solvent).

The choice of solvent, therefore, becomes an integral part of experimental design.

Practical Considerations

When reporting molar extinction coefficients, it is essential to specify the solvent used. Comparing ε values obtained in different solvents without considering these effects can lead to inaccurate conclusions.

Researchers should carefully consider solvent effects and choose a solvent that is appropriate for their specific application.

Chromophores and Molecular Structure

The molecular structure of a substance, particularly the presence of chromophores, directly influences its molar extinction coefficient.

Chromophores are specific functional groups within a molecule that are responsible for absorbing light in the UV-Vis region of the electromagnetic spectrum.

Understanding Chromophores

These groups typically contain pi electrons or non-bonding electrons that can be excited by incident light, leading to electronic transitions.

The type and arrangement of chromophores within a molecule determine the wavelengths of light that are absorbed and the intensity of the absorption (i.e., the molar extinction coefficient).

For example, molecules with conjugated double bonds (alternating single and double bonds) tend to have higher ε values because the delocalization of electrons allows for more efficient absorption of light.

Implications for Absorbance

The presence of multiple chromophores in a molecule can lead to additive effects, resulting in even higher molar extinction coefficients.

Furthermore, the position and orientation of chromophores relative to each other can also influence the overall absorption properties of the molecule.

Understanding the relationship between molecular structure and the molar extinction coefficient is invaluable for predicting the light-absorbing properties of a substance.

This knowledge is useful for designing molecules with specific optical properties and for interpreting the absorption spectra of unknown compounds.

Data Interpretation, Reporting, and Error Analysis

Factors Influencing the Molar Extinction Coefficient Understanding the theoretical underpinnings of the Beer-Lambert Law is only half the battle. Successfully applying this law requires mastering the experimental techniques and instrumentation used to accurately measure absorbance. Beyond the technical aspects, several external factors can significantly influence the reliability and interpretation of spectrophotometric data. Therefore, a solid grasp of data interpretation, proper reporting practices, and thorough error analysis is crucial for drawing meaningful conclusions from your experiments.

Creating and Utilizing a Standard Curve for Concentration Determination

A standard curve is a fundamental tool in quantitative spectrophotometry, allowing you to determine the concentration of an unknown substance. It is essentially a calibration curve that plots absorbance values against known concentrations.

The Process of Constructing a Standard Curve

The first step involves preparing a series of solutions with accurately known concentrations of the substance you are analyzing.

These concentrations should span the range of expected concentrations in your unknown samples.

Next, measure the absorbance of each standard solution at the appropriate wavelength using your spectrophotometer.

Ensure that you follow proper instrument operation and sample handling procedures.

Plot the absorbance values (y-axis) against the corresponding concentrations (x-axis).

Ideally, this plot should yield a linear relationship, adhering to the Beer-Lambert Law.

Finally, generate a best-fit line through the data points, obtaining the equation of the line (y = mx + b) and the R-squared value. The R-squared value is an indicator of how well the regression line fits the data.

Determining Unknown Concentrations

Once the standard curve is established, measure the absorbance of your unknown sample at the same wavelength.

Locate the corresponding concentration on the standard curve that matches the absorbance you measured. This is your unknown sample concentration.

You can either read the concentration directly from the graph or, more precisely, use the equation of the line (y=mx+b) to calculate the concentration (x) given the absorbance (y).

Identifying and Addressing Potential Sources of Error

Spectrophotometric measurements, like any experimental technique, are subject to various sources of error. Recognizing and minimizing these errors is essential for obtaining accurate and reliable results.

Common Sources of Error

  • Cuvette Handling: Scratches, fingerprints, or dirt on the cuvette's optical path can scatter light and affect absorbance readings. Always handle cuvettes with care, using lint-free wipes to clean the optical surfaces before each measurement.
  • Sample Preparation: Inaccurate dilutions, incomplete mixing, or the presence of particulates in the sample can lead to errors. Ensure thorough mixing of solutions and consider filtration to remove any suspended particles.
  • Instrument Limitations: Spectrophotometers have limitations in terms of wavelength accuracy, stray light, and detector sensitivity. Be aware of your instrument's specifications and limitations. Periodically calibrate your spectrophotometer and run appropriate controls to correct for instrument drift and ensure accurate measurements.
  • Wavelength Accuracy: Selecting the appropriate wavelength for the sample being analyzed is also imperative for accurate analyses. It is important to select the wavelength in which the compound under analysis has the maximum absorbance, as this will lead to the most accurate analysis.
  • Beer-Lambert Law Deviations: The Beer-Lambert Law holds true under specific conditions. Deviations from linearity can occur at high concentrations due to solute-solute interactions or changes in the refractive index. Ensure you are working within the linear range of the standard curve.

Minimizing Errors and Improving Accuracy

  • Use High-Quality Cuvettes: Opt for high-quality cuvettes made of materials appropriate for the wavelength range being used.
  • Proper Blanking: Always blank the spectrophotometer with a solution containing all components of your sample except the analyte of interest. This accounts for any background absorbance.
  • Multiple Measurements: Take multiple absorbance readings of each sample and calculate the average and standard deviation. This can help identify and minimize random errors.
  • Regular Calibration: Calibrate the spectrophotometer regularly using certified standards to ensure accurate wavelength and absorbance readings.

Finding and Interpreting Molar Extinction Coefficients in Scientific Literature

While it is ideal to experimentally determine the molar extinction coefficient, ε, for your specific experimental conditions, it is sometimes possible to find published values in the scientific literature. This can be a valuable starting point or a means of verifying your own experimental results.

Resources for Finding Published ε Values

  • Scientific Journals: Search reputable scientific journals in your field for publications that report ε values for the compounds you are studying.
  • Handbooks and Databases: Chemical handbooks (e.g., the CRC Handbook of Chemistry and Physics) and specialized databases (e.g., the NIST Chemistry WebBook) may contain compiled ε values.
  • Online Resources: Websites of universities or research institutions sometimes provide databases of spectroscopic data, including molar extinction coefficients.

FAQ: Understanding Molar Extinction Coefficient Calculation

What exactly is the molar extinction coefficient, and why is it important?

The molar extinction coefficient (ε) is a measure of how strongly a chemical species absorbs light at a given wavelength. It's crucial for quantifying substances using spectrophotometry and determining concentrations in solutions. Knowing how to calculate molar extinction coefficient lets you connect absorbance to concentration, a vital analytical technique.

The molar extinction coefficient is a key component of the Beer-Lambert Law (A = εbc), where A is absorbance, b is path length, and c is concentration. The equation shows how to calculate molar extinction coefficient if you know the absorbance, path length, and concentration. Conversely, if you know the molar extinction coefficient, you can determine the concentration from absorbance readings.

What units are typically used for molar extinction coefficient?

The standard units for molar extinction coefficient are L⋅mol⁻¹⋅cm⁻¹. This reflects that concentration is typically expressed in moles per liter (mol/L or M) and path length in centimeters (cm). Understanding these units is crucial when learning how to calculate molar extinction coefficient and applying the Beer-Lambert Law correctly.

Is the molar extinction coefficient constant for a given substance?

Yes, the molar extinction coefficient is generally considered constant for a specific substance at a specific wavelength and under defined conditions (solvent, temperature, pH). However, changes in these conditions can affect the substance's absorbance properties, thus impacting how to calculate molar extinction coefficient for those new conditions.

So, there you have it! Hopefully, this guide has demystified the process of calculating molar extinction coefficient. With a little practice, you'll be a pro in no time, accurately determining this valuable property for your compounds and confidently performing your spectroscopic analyses. Happy calculating!