Vary With or Vary By: What’s the Difference?

Choosing between “vary with” and “vary by” depends on what is changing and what is causing that change. These phrases are not interchangeable, and using the wrong preposition can obscure the relationship between two variables. Understanding the distinction helps you write more precisely in academic, technical, and everyday contexts.

This article explains when to use each phrase, provides examples of both in context, and offers a quick test for deciding which one fits your sentence.

Vary With

Use “vary with” when one thing changes in response to another. This construction describes correlation or dependence: as factor A shifts, factor B shifts along with it. The thing being modified is linked to the condition that influences it.

Examples:

  • Patient recovery times vary with the severity of the illness.
  • Atmospheric pressure varies with altitude.
  • The final price varies with the number of items ordered.

In each case, the first item does not stay static; it changes as the second item changes.

Vary By

Use “vary by” when you are identifying the amount, degree, or specific category of difference. This phrase often introduces a measurement, a margin, or a group that accounts for variation. It answers “by how much?” or “according to which classification?”

Examples:

  • Test scores vary by as much as twenty points between classrooms.
  • Shipping rates vary by destination.
  • Office hours vary by department.

Here, “by” marks the extent of the variation or the specific basis on which differences are sorted.

How to Choose Between Them

Ask whether you are describing a relationship or specifying a measure. If two elements change together, use “vary with.” If you are stating how much something differs or which category controls the difference, use “vary by.”

For example, “hourly wages vary with experience” means wages rise or fall as experience increases. “Hourly wages vary by region” means the pay rate is different depending on which region you are in. Both sentences are correct, but they convey different information.

Quick Test

  • Can you insert “depending on” in place of the phrase? Use “vary with.”
  • Can you insert “according to” or “by an amount of”? Use “vary by.”

Selecting the right preposition keeps your meaning clear and prevents readers from misreading the connection between the subjects in your sentence.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *