Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Quadratic Funding (CLR)

Quadratic Funding (CLR) is a capital allocation mechanism for public goods where matching funds from a central pool are distributed proportionally to the square of the sum of the square roots of individual contributions.
Chainscore © 2026
definition
MECHANISM DESIGN

What is Quadratic Funding (CLR)?

Quadratic Funding (QF), also known as the Capital-constrained Liberal Radicalism (CLR) mechanism, is a mathematically optimized model for democratically allocating a matching pool of funds to public goods projects based on the breadth of community support.

Quadratic Funding (QF) is a mechanism for allocating a central matching pool to a set of projects, where the amount each project receives is proportional to the square of the sum of the square roots of individual contributions. This mathematical formula, formalized as the Capital-constrained Liberal Radicalism (CLR) model by Vitalik Buterin, Zoë Hitzig, and E. Glen Weyl, is designed to maximize the "preference diversity" of funding outcomes. In practice, this means a project with 100 donors giving $1 each will receive significantly more matching funds than a project with 1 donor giving $100, even though the total contributed amount is identical. This creates a powerful incentive for projects to build broad, grassroots support rather than courting a few large whales.

The core innovation is that the matching amount is calculated using a quadratic formula. If a project receives contributions c1, c2, ..., cn from n individuals, the total matching funds it receives from the pool is proportional to (√c1 + √c2 + ... + √cn)². This non-linear relationship ensures that the number of contributors is weighted more heavily than the size of individual contributions. The mechanism is typically implemented in rounds, where a community donates directly to projects, and a separate matching fund (often provided by a protocol's treasury or a grant organization) is distributed according to the QF algorithm to amplify the community's signal.

This model has become a cornerstone of decentralized public goods funding, most notably implemented by Gitcoin Grants for open-source software and community projects. Its primary goal is to solve the free-rider problem inherent in public goods, where individuals benefit from a resource without paying for it, leading to chronic underfunding. By making each additional small donor disproportionately valuable, QF encourages more people to become contributors, revealing true community preferences and funding projects that provide the greatest net benefit to the collective. The matching pool acts as a subsidy that corrects for the market failure of under-provision.

Key practical considerations for a Quadratic Funding round include the source and size of the matching pool, the mechanisms to prevent Sybil attacks (where one entity creates many fake identities to manipulate the square root calculation), and the design of the contribution interface. Platforms like Gitcoin use a combination of passport systems, grant curation, and fraud detection to uphold the mechanism's integrity. The ultimate output is a funding distribution that is more democratic and pluralistic than one driven purely by the volume of capital, aligning economic incentives with the ideal of broad-based community ownership.

etymology
TERM HISTORY

Etymology and Origin

This section traces the conceptual and terminological roots of Quadratic Funding, explaining how its name and core mechanism emerged from economic theory and were adapted for blockchain governance.

The term Quadratic Funding (QF) is derived from the mathematical function at its core: a quadratic formula. The mechanism was first formally proposed in a 2018 paper titled "Liberal Radicalism" by economists Vitalik Buterin, Zoë Hitzig, and E. Glen Weyl. The name directly references the quadratic relationship between an individual contributor's financial input and their influence on the final funding allocation, a design intended to optimize for the preferences of the crowd rather than the wealth of a few.

The etymology breaks down into two parts: Quadratic, from the Latin quadratus meaning "square," refers to the squaring of contributions in its matching formula; and Funding, denoting its application in capital allocation. The concept is also widely known by the acronym CLR (Capital-constrained Liberal Radicalism), which is taken from the paper's title. This theoretical framework was a radical departure from traditional matching grants or one-vote-per-person systems, proposing a novel way to fund public goods by mathematically amplifying small, democratic contributions.

The origin story of QF is deeply intertwined with the public goods funding problem in open-source software and community projects. Prior models struggled with issues like plurality voting or whale dominance. The "Liberal Radicalism" paper provided a mechanism where the amount of matched funding is proportional to the square of the sum of the square roots of contributions. This ensures that a project with broad-based support from many small donors receives a larger matching pool than one with the same total funds from a single large donor, thus quadratically rewarding popular consensus.

The practical implementation and popularization of Quadratic Funding occurred primarily within the Ethereum ecosystem, most notably through Gitcoin Grants rounds. This provided a real-world testing ground, cementing the term in the blockchain lexicon. The mechanism has since become a foundational primitive in decentralized governance and retroactive public goods funding (RetroPGF), influencing protocols like Optimism's Citizen House. Its evolution from economic theory to a key coordination tool exemplifies the application of rigorous mechanism design to solve blockchain-native challenges.

how-it-works
MECHANISM

How Quadratic Funding Works: Step-by-Step

A detailed walkthrough of the Quadratic Funding (QF) mechanism, also known as the CLR (Capital-constrained Liberal Radicalism) algorithm, which democratizes public goods funding by amplifying small contributions.

Quadratic Funding is a matching fund mechanism that algorithmically allocates a central pool of capital to projects based on the square of the sum of the square roots of individual contributions. The core principle is that the amount of matching funds a project receives is proportional to the number of its contributors, not the total amount they give. This creates a powerful incentive for projects to build broad community support, as a large number of small donations can unlock significant matching funds, even surpassing the total contributed by a few large donors.

The process begins with a funding round, where a matching pool is established by a protocol, DAO, or grant program. Projects are proposed, and community members make contributions, often using a cryptocurrency like ETH or a stablecoin. Each contribution is recorded with its donor's unique identifier, which is crucial for the quadratic calculation. The mechanism is designed to be sybil-resistant, meaning it aims to prevent a single entity from creating many fake identities to game the system and disproportionately influence the matching results.

After the contribution period ends, the matching calculation is performed. For each project, the algorithm sums the square roots of all individual contributions to that project, squares that sum, and then subtracts the sum of the original contributions. The result is the amount of matching funds the project qualifies for from the pool. This formula, (sum(√contribution))² - sum(contribution), mathematically encodes the preference for broad participation. The final matching amounts for all projects are then normalized to fit within the constraints of the available matching pool.

A classic example illustrates its power: Project A receives one donation of $10,000. Project B receives 100 donations of $1 each. Under a simple match, Project A would dominate. Under QF, Project A's matching is (√10000)² - 10000 = 0. Project B's matching is (100 * √1)² - 100 = 10000 - 100 = $9,900. Thus, the project with widespread community support receives nearly all the matching funds, despite raising 100 times less in direct contributions. This outcome powerfully demonstrates the algorithm's community-driven ethos.

In practice, implementing QF requires careful design of identity and sybil resistance systems, such as Gitcoin Passport or BrightID, to ensure one-person-one-vote integrity. The mechanism has been pioneered most notably by the Gitcoin Grants program for funding open-source software and public goods in the Ethereum ecosystem. Its transparent, mathematically defined rules make it a cornerstone of decentralized governance and a compelling model for allocating communal resources based on demonstrated popular support rather than pure capital weight.

visual-explainer
QUADRATIC FUNDING MECHANISM

Visual Explainer: The Quadratic Effect

This visual guide explains the core mathematical principle behind Quadratic Funding (CLR), which optimizes the allocation of matching funds to public goods based on community support.

The Quadratic Effect is the non-linear relationship at the heart of Quadratic Funding (QF) and the Capital-constrained Liberal Radicalism (CLR) mechanism, where the amount of matching funds a project receives is proportional to the square of the sum of the square roots of individual contributions. This mathematical formula, (sum of √contributions)², is designed to maximize the perceived societal value of funded projects by heavily weighting the number of unique contributors over the size of any single donation. In practice, this means a project with 100 contributors giving $1 each would receive significantly more in matching funds than a project with 1 contributor giving $100, even though both raise the same initial amount.

The mechanism visually demonstrates a powerful preference for broad-based consensus. The quadratic formula amplifies the impact of small donations, creating a steeper reward curve for projects that attract widespread, grassroots support. This is a deliberate design to counter the "tyranny of the whale"—where a few large donors dictate outcomes—and to better surface projects that provide value to a larger community. The matching pool is distributed to projects in a way that subsidizes community participation, making each additional small donor disproportionately valuable to a project's final matched total.

A classic example is a Gitcoin Grants round. If Project A receives two $10,000 donations, its sum of square roots is √10,000 + √10,000 = 100 + 100 = 200. Squaring that gives a "match score" of 40,000. Project B receives 100 donations of $1 each. Its sum of square roots is 100 * √1 = 100. Squaring that gives a match score of 10,000. Despite Project A raising 200 times more capital, Project B's match score is only 4 times smaller. When the matching pool is divided proportionally to these scores, Project B receives a much larger matching multiplier on its funds, effectively valuing the democratic will of its many supporters.

key-features
MECHANISM

Key Features of Quadratic Funding

Quadratic Funding (QF), also known as the CLR (Capital-constrained Liberal Radicalism) mechanism, is a mathematically optimal way to allocate a matching pool to public goods based on the number of contributors, not just the total amount contributed.

01

The Quadratic Formula

The core mechanism calculates a project's matching amount using the square of the sum of the square roots of individual contributions. This formula, (Σ √contribution_i)², mathematically optimizes for the number of unique contributors, making small donations disproportionately powerful in determining the final match.

02

Capital-Constrained Matching Pool

A central matching pool of funds (often from a protocol's treasury or a grant program) is distributed to projects based on the QF formula. The pool is 'capital-constrained,' meaning it has a fixed budget, so the final match for each project is a proportion of the total pool based on its relative QF score.

03

Preference Aggregation

QF acts as a preference aggregation mechanism, revealing the collective will of a community. It surfaces projects with broad-based support (many small contributions) over those with support from a few large whales, aligning funding outcomes with democratic ideals.

04

Sybil Resistance & Collusion

A critical vulnerability. The mechanism's power is easily gamed if one entity can create many fake identities (Sybil attacks) or coordinate a group to split a large donation (collusion). Effective QF implementations require robust identity verification (e.g., BrightID, Proof of Humanity) or pairwise coordination subsidies to mitigate this.

06

Related Concept: Pairwise Coordination Subsidies

A proposed cryptographic enhancement to QF designed to deter collusion. It introduces a penalty when two contributors are detected as coordinating (e.g., from the same entity). This makes it economically irrational to split a large donation, strengthening the mechanism's anti-collusion properties.

examples
QUADRATIC FUNDING (CLR)

Real-World Protocol Examples

Quadratic Funding (QF), often implemented via the CLR (Capital-constrained Liberal Radicalism) algorithm, is a mechanism for optimally allocating a matching pool to public goods based on the number of contributors, not just the total amount. These are key projects and platforms that have operationalized the concept.

02

Optimism RetroPGF

Optimism's Retroactive Public Goods Funding (RetroPGF) program adapts QF principles to reward projects that have already provided proven value to the Optimism Collective and Ethereum.

  • Key Difference: Funding is allocated retroactively by badgeholders based on past impact, rather than prospectively by donors.
  • Scale: Has completed multiple rounds, distributing tens of millions of OP tokens to developers, educators, and infrastructure providers.
04

dGov (Decentralized Governance) Applications

Many DAOs and protocols use QF-inspired mechanisms for internal resource allocation, such as funding community initiatives or developer grants.

  • Example: Aragon Network has used QF for its DAO ecosystem grants.
  • Tooling: Platforms like Coordinape and SourceCred use similar graph-based contribution weighting to distribute rewards, extending QF concepts beyond simple donation matching.
05

The Matching Fund & Capital Constraint

The matching pool is the critical capital source that amplifies small donations. Its size and source define a QF round's power and constraints.

  • Sources: Can be provided by a protocol's treasury (e.g., Optimism), a DAO, corporate sponsors, or a community fund.
  • The Constraint: The CLR algorithm optimally distributes this fixed pool; it does not create capital. The quality of matching depends entirely on the pool's size relative to total donations.
06

Sybil Resistance & Verification

A major challenge for QF is preventing Sybil attacks, where one entity creates many fake identities to manipulate matching. Real-world implementations use various verification layers.

  • Gitcoin Grants: Uses Gitcoin Passport, a system of decentralized identity stamps, to weight contributions.
  • clr.fund: Relies on MACI and a trusted coordinator for collusion resistance.
  • Impact: Without robust sybil resistance, QF matching can be easily gamed, undermining its democratic ideal.
COMPARATIVE ANALYSIS

Quadratic Funding vs. Other Models

A feature and incentive structure comparison of Quadratic Funding (CLR) against other common public goods funding mechanisms.

Feature / MetricQuadratic Funding (CLR)Direct GrantsRetroactive FundingToken Curated Registry (TCR)

Primary Matching Mechanism

Quadratic formula using sum of square roots

Centralized committee decision

Post-hoc reward for proven impact

Stake-weighted voting by token holders

Small Donor Amplification

Sybil Attack Resistance

Requires identity proof (e.g., BrightID)

Not applicable

Not applicable

Stake-based (costly to attack)

Funding Allocation Determinism

Algorithmic and transparent

Subjective and opaque

Subjective and retrospective

Vote-based and transparent

Typical Round Cadence

Regular rounds (e.g., quarterly)

Ad-hoc or periodic

Ad-hoc, after value delivery

Continuous or periodic

Community Signal Incorporation

Direct via contributions

Indirect via proposals

None (judges past work)

Direct via staked voting

Overhead for Project Teams

Low (apply to round)

High (grant writing, reporting)

Medium (proof-of-impact submission)

Medium (listing proposal & campaigning)

Example Protocol / Implementation

Gitcoin Grants, clr.fund

Ethereum Foundation, Uniswap Grants

Optimism RetroPGF, Arbitrum DOS

AdChain, Kleros Curated Lists

security-considerations
QUADRATIC FUNDING (CLR)

Security Considerations & Challenges

While Quadratic Funding is a powerful mechanism for democratizing public goods funding, its implementation introduces specific security and game-theoretic challenges that must be addressed to ensure the integrity of funding rounds.

02

Collusion & Bribery

Participants can collude to game the matching algorithm, violating the mechanism's assumption of independent contributions. Common schemes include:

  • Pairwise Coordination: Two projects agree to direct their communities to fund each other, artificially inflating their matching.
  • Bribery: A project offers to refund or reward contributors, effectively buying votes and distorting the "wisdom of the crowd."
  • Round-trip Financing: Using project funds to donate to itself via shell contributors. These are Nash equilibria problems where cheating becomes the rational strategy. Detection requires analyzing contribution graphs for suspicious patterns.
03

Oracle & Data Integrity

The QF mechanism depends on oracles to provide accurate, tamper-proof data feeds for critical parameters:

  • Matching Pool Size: The total amount available for matching must be reliably reported on-chain.
  • Contribution Totals: The sum of squared contributions for each project must be calculated correctly and resist manipulation.
  • Token Prices: If contributions are in multiple currencies, price oracles are needed to normalize values. A compromised oracle can drain the matching pool or skew results. Solutions involve using decentralized oracle networks (e.g., Chainlink) and cryptographic proofs like MACI for contribution tallying.
04

Front-Running & MEV

In on-chain QF implementations, Maximal Extractable Value (MEV) seekers can exploit the transparent mempool. A malicious actor can:

  • Front-run legitimate contributions by seeing a transaction and submitting their own with a higher gas fee, potentially affecting the final matching calculation before the original transaction is included.
  • Sandwich a large contribution that might shift the matching curve.
  • Censor contributions to specific projects. Mitigation requires using commit-reveal schemes, where contributions are submitted as hashed commitments in one block and revealed in a later block, or leveraging private transaction pools.
05

Parameter Manipulation & Governance

The security of a QF round is highly sensitive to its configured parameters, which are often set via governance. Key attack vectors include:

  • Matching Cap (Cliff): Setting the cap too high increases Sybil attack profitability; too low reduces mechanism effectiveness.
  • Matching Curve: The exponent in the CLR formula (typically square root) could be altered to favor large donors.
  • Round Timing: Maliciously shortening or extending rounds to benefit insiders.
  • Eligibility Criteria: Arbitrarily including or excluding projects. Robust, decentralized governance with time-locked upgrades and veto mechanisms is essential to secure these parameters.
QUADRATIC FUNDING (CLR)

Common Misconceptions

Quadratic Funding (QF), often implemented via the CLR (Capital-constrained Liberal Radicalism) mechanism, is a powerful but frequently misunderstood model for public goods funding. This section clarifies the most persistent myths about how it works, its security, and its economic effects.

No, Quadratic Funding is not a simple popularity contest; it is a mechanism designed to maximize the aggregate benefit to the community by amplifying the preferences of a larger number of small contributors. While a project with many small donations will receive a larger matching pool boost than a project with a few large donations of the same total amount, this is the intended feature, not a bug. It surfaces projects with broad-based community support rather than those favored by a few wealthy whales. The "quadratic" formula (matching amount ∝ (sum of square roots of contributions)²) mathematically optimizes for the number of unique contributors, making it a measure of democratic alignment, not just raw popularity.

QUADRATIC FUNDING

Technical Details: The CLR Formula

The CLR (Capital-constrained Liberal Radicalism) formula is the mathematical engine behind Quadratic Funding, a mechanism for optimally allocating matching funds to public goods based on the breadth of community support.

The CLR formula is the mathematical rule used in Quadratic Funding to calculate the optimal distribution of a matching pool to projects based on the sum of the square roots of individual contributions. It determines the matching amount for a project as the square of the sum of the square roots of contributions, minus the sum of the original contributions. The core equation is: Matching_i = (sum(sqrt(contribution_ij)))^2 - sum(contribution_ij), where i is the project and j are the contributors. This non-linear relationship ensures that a large number of small contributions receives a proportionally larger match than a single large donation, effectively measuring and rewarding the breadth of a project's community support.

QUADRATIC FUNDING (CLR)

Frequently Asked Questions (FAQ)

Quadratic Funding is a powerful mechanism for democratically allocating capital to public goods. These questions address its core mechanics, applications, and challenges.

Quadratic Funding (QF) is a mathematically optimal mechanism for funding public goods by matching individual contributions with a central pool of funds. It works by calculating a matching subsidy for each project based on the square of the sum of the square roots of individual contributions. This formula, formalized by Vitalik Buterin, Zoë Hitzig, and Glen Weyl, disproportionately rewards projects with broad-based community support over those with a few large donors. For example, a project with 100 donations of $1 each receives a much larger match than a project with one $100 donation, even though the total contributed is identical. This creates a plural funding outcome, aligning funding with the collective preferences of a community.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team